- Timestamp:
- Nov 10, 2018, 9:53:43 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 3946de5
- Parents:
- 96e1533
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/pythontest/TestTools.py
r96e1533 r1abf820 44 44 def test_anystr_none_or_str(self): 45 45 assert 'test' == none_or_str('test') 46 47 def test_fail_get_cmdline_arguments(self): 48 sys.argv = ['dummy.py', '--wrong=1'] 49 with pytest.raises(SystemExit): 50 results = get_cmdline_arguments() 46 51 47 52 def test_default_get_cmdline_arguments(self): … … 70 75 assert cmd_dict_control == vars(results) 71 76 72 73 77 def test_input_get_cmdline_arguments(self): 74 78 cmd_dict_control = {'start_date':'20180101',
Note: See TracChangeset
for help on using the changeset viewer.