pyicloud/tests/test_sanity.py

10 lines
206 B
Python
Raw Normal View History

from unittest2 import TestCase
from pyicloud.cmdline import main
class SanityTestCase(TestCase):
def test_basic_sanity(self):
with self.assertRaises(SystemExit):
main(['--help'])