Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (honzad) C:\Users\vojnovic\Documents\git_repos\pyalphat (master)
- λ nosetests -vs sample_tests\foobar.py:TestFoobar.test_alpha
- test_alpha (sample_tests.foobar.TestFoobar) ... ERROR
- ======================================================================
- ERROR: test_alpha (sample_tests.foobar.TestFoobar)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "C:\Users\vojnovic\Documents\git_repos\pyalphat\sample_tests\foobar.py", line 32, in test_alpha
- wire_up(TestFoobar.suite, sigkey, arrange, assert_, dt)
- File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 26, in wire_up
- dt.register(sigkey, assert_date, data)
- File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 182, in register
- ts = timestamp(assert_date)
- File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 58, in timestamp
- raise TypeError('only datetime or number of secs to add to now (int) can be passed as an assert_date')
- TypeError: only datetime or number of secs to add to now (int) can be passed as an assert_date
- ----------------------------------------------------------------------
- Ran 1 test in 0.010s
- FAILED (errors=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement