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
...E..
======================================================================
ERROR: test_handler.test_load_examples
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/tmp/urlwatch-2.0/test/test_handler.py", line 37, in test_load_examples
txt_jobs = UrlsTxt(os.path.join(os.path.dirname(__file__), 'data', 'urls.txt')).load_secure()
File "/tmp/urlwatch-2.0/lib/urlwatch/storage.py", line 155, in load_secure
jobs = self.load()
File "/tmp/urlwatch-2.0/lib/urlwatch/storage.py", line 202, in load
return list(self._parse(open(self.filename)))
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/urlwatch-2.0/test/data/urls.txt'
----------------------------------------------------------------------
Ran 6 tests in 0.059s
FAILED (errors=1)
The text was updated successfully, but these errors were encountered:
Some of these test cases like the urls.txt test case is mostly for regression testing during development, so it's okay if the files are missing when urlwatch is installed. However, I've now also added test/data to the source tarball, so people grabbing the tarball can also run the regression tests.
The text was updated successfully, but these errors were encountered: