summaryrefslogtreecommitdiff
path: root/testrn.py
blob: fdc33ee9d1dfe4535d5299ba7e1608f39a8ae672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import unittest
from rn import create_parser


class TestRn(unittest.TestCase):
    """
    Base TestCase class, sets up a CLI parser
    """

    @classmethod
    def setUpClass(cls):
        parser = create_parser()
        cls.parser = parser

    def test_foo(self):
        #    args = self.parser.parse_args(['foo', '-R', '', '-A', 'idbs81839'])
        #    result = ping(args.tags, args.region, args.ami)
        #    self.assertIsNotNone(result)

        # TODO: test %Y.%m.%d dates
        # TODO: test %Y.%m dates
        # TODO: test non-conformant dates
        # TODO: snapshots/linaro-5.3-2016.05-6 -c -d "2016.06." --strict
        pass

if __name__ == '__main__':
    unittest.main()