pyicloud/tests/test_sanity.py

13 lines
275 B
Python
Raw Normal View History

2020-03-23 19:31:56 +01:00
"""Sanity test."""
from unittest2 import TestCase
from pyicloud.cmdline import main
class SanityTestCase(TestCase):
2020-03-23 19:31:56 +01:00
"""Sanity test."""
def test_basic_sanity(self):
2020-03-23 19:31:56 +01:00
"""Sanity test."""
with self.assertRaises(SystemExit):
main(['--help'])