Beispiel #1
0
 def test_one_real_one_comment(self):
     assert({'a'} == bde_items(P('one')/'real'/'one'/'comment'))
Beispiel #2
0
 def test_one_commented_item(self):
     assert(set() == bde_items(P('one')/'commented'/'item'))
Beispiel #3
0
 def test_two_commented_items_same_line(self):
     assert(set() == bde_items(P('two')/'commented'/'same'/'line'))
Beispiel #4
0
 def test_two_items_on_same_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'same'/'line'))
Beispiel #5
0
 def test_item_on_each_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'diff'/'lines'))
Beispiel #6
0
 def test_one_char_item(self):
     assert({'a'} == bde_items(P('one')/'char'))
Beispiel #7
0
 def test_longer_char_item(self):
     assert({'ab'} == bde_items(P('longer')/'char'))
Beispiel #8
0
 def test_two_commented_items_same_line(self):
     assert(set() == bde_items(P('two')/'commented'/'same'/'line'))
Beispiel #9
0
 def test_one_real_one_comment(self):
     assert({'a'} == bde_items(P('one')/'real'/'one'/'comment'))
Beispiel #10
0
 def test_one_commented_item(self):
     assert(set() == bde_items(P('one')/'commented'/'item'))
Beispiel #11
0
 def test_item_on_each_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'diff'/'lines'))
Beispiel #12
0
 def test_two_items_on_same_line(self):
     assert({'a', 'b'} == bde_items(P('two')/'same'/'line'))
Beispiel #13
0
 def test_longer_char_item(self):
     assert({'ab'} == bde_items(P('longer')/'char'))
Beispiel #14
0
 def test_one_char_item(self):
     assert({'a'} == bde_items(P('one')/'char'))