Beispiel #1
0
 def test_generate_one_test_longform_equals(self):
     options, targets = parse_args(['--generate-test=foo'])
     assert ({'foo'} == options)
     assert ([] == targets)
Beispiel #2
0
 def test_four_targets(self):
     options, targets = parse_args(['foo', 'bar', 'bam', 'baz'])
     assert (set() == options)
     assert (['foo', 'bar', 'bam', 'baz'] == targets)
Beispiel #3
0
 def test_generate_one_test(self):
     options, targets = parse_args(['-t', 'foo'])
     assert ({'foo'} == options)
     assert ([] == targets)
Beispiel #4
0
 def test_one_target(self):
     options, targets = parse_args(['foo'])
     assert (set() == options)
     assert (['foo'] == targets)
Beispiel #5
0
 def test_one_target(self):
     options, targets = parse_args(['foo'])
     assert(set()   == options)
     assert(['foo'] == targets)
Beispiel #6
0
 def test_generate_one_test_longform_equals(self):
     options, targets = parse_args(['--generate-test=foo'])
     assert({'foo'} == options)
     assert([]      == targets)
Beispiel #7
0
 def test_generate_one_test(self):
     options, targets = parse_args(['-t', 'foo'])
     assert({'foo'} == options)
     assert([]      == targets)
Beispiel #8
0
 def test_four_targets(self):
     options, targets = parse_args(['foo', 'bar', 'bam', 'baz'])
     assert(set()                        == options)
     assert(['foo', 'bar', 'bam', 'baz'] == targets)