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