You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a failing test because the path of the generated tmp folder is longer than you expect it to be. I have less whitespace characters between the path and : Changes
I would suggest to make the String comparison less strict. What about an expression to check if the output is partially as expected? Ignoring two many whitespace characters?
Cheers,
Ben
======================================================================
FAIL: tests.clustergit_test.TestClustergit.test_check_fresh_repo
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/ben/dev/projects/oss/clustergit/tests/tests/clustergit_test.py", line 55, in test_check_fresh_repo
same("stdout should be alright", expected_out, actual_out)
File "/Users/ben/dev/projects/oss/clustergit/tests/tests/tools.py", line 4, in same
eq_(actual, expected, '%s. We expected [%s] but got [%s]' % (message, expected, actual))
AssertionError: stdout should be alright. We expected [Starting git status...
Scanning sub directories of /var/folders/qz/pkd6t5v52d9b2w01nc2f587h0000gp/T/tmpuqsbOv
/var/folders/qz/pkd6t5v52d9b2w01nc2f587h0000gp/T/tmpuqsbOv/mygit : Changes
Done
] but got [Starting git status...
Scanning sub directories of /var/folders/qz/pkd6t5v52d9b2w01nc2f587h0000gp/T/tmpuqsbOv
/var/folders/qz/pkd6t5v52d9b2w01nc2f587h0000gp/T/tmpuqsbOv/mygit: Changes
Done
]
The text was updated successfully, but these errors were encountered:
Hi,
I have a failing test because the path of the generated tmp folder is longer than you expect it to be. I have less whitespace characters between the path and : Changes
I would suggest to make the String comparison less strict. What about an expression to check if the output is partially as expected? Ignoring two many whitespace characters?
Cheers,
Ben
The text was updated successfully, but these errors were encountered: