@@ -21,7 +21,7 @@ class TestA:
2121 def a_nested (self ):
2222 return 2
2323
24- def test_a (self , a ):
24+ def test_a_nested (self , a ):
2525 assert a == 2
2626
2727 @parametrize_with_cases ('o' , debug = True )
@@ -48,18 +48,32 @@ def test_foo2(o):
4848
4949 def test_synthesis (module_results_dct ):
5050 assert list (module_results_dct ) == [
51- 'test_a' ,
52- 'test_foo_nested[o_is_a_]' ,
53- 'test_foo_nested[o_is_b_-a=*]' ,
54- 'test_foo_nested[o_is_b_-a=**]' ,
55- 'test_foo_nested2[o_is_a_]' , # <- note that case fixture names are the same: correctly reused
56- 'test_foo_nested2[o_is_b_-a=*]' ,
57- 'test_foo_nested2[o_is_b_-a=**]' ,
58- 'test_bar' ,
59- 'test_foo[o_is_a_]' ,
60- 'test_foo[o_is_b_-a=*]' ,
61- 'test_foo[o_is_b_-a=**]' ,
62- 'test_foo2[o_is_a_]' , # <- note that case fixture names are the same: correctly reused
63- 'test_foo2[o_is_b_-a=*]' ,
64- 'test_foo2[o_is_b_-a=**]'
51+ # all tests in TestA class
52+ 'test_a_nested' ,
53+ 'test_foo_nested[o_is_a_]' ,
54+ 'test_foo_nested[o_is_b_-a=*]' ,
55+ 'test_foo_nested[o_is_b_-a=**]' ,
56+ 'test_foo_nested[o_is_a__]' ,
57+ 'test_foo_nested[o_is_b__-a=*]' ,
58+ 'test_foo_nested[o_is_b__-a=**]' ,
59+ 'test_foo_nested2[o_is_a_]' , # <- note that case fixture names are the same: correctly reused
60+ 'test_foo_nested2[o_is_b_-a=*]' ,
61+ 'test_foo_nested2[o_is_b_-a=**]' ,
62+ 'test_foo_nested2[o_is_a__]' ,
63+ 'test_foo_nested2[o_is_b__-a=*]' ,
64+ 'test_foo_nested2[o_is_b__-a=**]' ,
65+ # all tests in the module
66+ 'test_bar' ,
67+ 'test_foo[o_is_a_]' ,
68+ 'test_foo[o_is_b_-a=*]' ,
69+ 'test_foo[o_is_b_-a=**]' ,
70+ 'test_foo[o_is_a__]' ,
71+ 'test_foo[o_is_b__-a=*]' ,
72+ 'test_foo[o_is_b__-a=**]' ,
73+ 'test_foo2[o_is_a_]' , # <- note that case fixture names are the same: correctly reused
74+ 'test_foo2[o_is_b_-a=*]' ,
75+ 'test_foo2[o_is_b_-a=**]' ,
76+ 'test_foo2[o_is_a__]' ,
77+ 'test_foo2[o_is_b__-a=*]' ,
78+ 'test_foo2[o_is_b__-a=**]'
6579 ]
0 commit comments