예제 #1
0
파일: test_main.py 프로젝트: 0101/pipetools
 def test_repr(self):
     f = ~X.attr(1, 2, three='four')
     assert repr(f) == "X.attr | X(1, 2, three='four')"
예제 #2
0
 def test_name(self):
     f = ~X.attr(1, 2, three='four')
     assert f.__name__ == "X.attr | X(1, 2, three='four')"
예제 #3
0
 def test_repr(self):
     f = ~X.attr(1, 2, three='four')
     assert repr(f) == "X.attr | X(1, 2, three='four')"
예제 #4
0
 def test_name(self):
     f = ~X.attr(1, 2, three="four")
     assert f.__name__ == "X.attr | X(1, 2, three='four')"