2020-03-23 19:31:56 +01:00
|
|
|
"""Sanity test."""
|
2014-10-06 05:59:30 +02:00
|
|
|
from unittest2 import TestCase
|
2014-10-06 05:46:07 +02:00
|
|
|
|
|
|
|
from pyicloud.cmdline import main
|
|
|
|
|
|
|
|
|
|
|
|
class SanityTestCase(TestCase):
|
2020-03-23 19:31:56 +01:00
|
|
|
"""Sanity test."""
|
2014-10-06 05:46:07 +02:00
|
|
|
def test_basic_sanity(self):
|
2020-03-23 19:31:56 +01:00
|
|
|
"""Sanity test."""
|
2014-10-06 05:46:07 +02:00
|
|
|
with self.assertRaises(SystemExit):
|
|
|
|
main(['--help'])
|