mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
13 lines
417 B
Python
13 lines
417 B
Python
from __future__ import unicode_literals
|
|
from __future__ import absolute_import
|
|
from . import unittest
|
|
from fig.cli.main import TopLevelCommand
|
|
|
|
class CLITestCase(unittest.TestCase):
|
|
def setUp(self):
|
|
self.command = TopLevelCommand()
|
|
self.command.base_dir = 'tests/fixtures/simple-figfile'
|
|
|
|
def test_help(self):
|
|
self.assertRaises(SystemExit, lambda: self.command.dispatch(['-h'], None))
|