コード例 #1
0
def test_datetime_alias():
    assert datetime_aliased.now() == datetime_aliased(1980, 1, 1)
コード例 #2
0
def test_datetime_alias():
    assert datetime_aliased.now() == datetime_aliased(1980, 1, 1)
コード例 #3
0
 def test_calls_other_method(self):
     assert datetime_aliased(2013, 4, 9) == datetime_aliased.today()
     self.some_other_func()
     assert datetime_aliased(2013, 4, 9) == datetime_aliased.today()
コード例 #4
0
 def test_calls_other_method(self):
     assert datetime_aliased(2013, 4, 9) == datetime_aliased.today()
     self.some_other_func()
     assert datetime_aliased(2013, 4, 9) == datetime_aliased.today()