Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit tests need to be run from manatlan's machine? #190

Open
GoogleCodeExporter opened this issue May 4, 2015 · 1 comment
Open

unit tests need to be run from manatlan's machine? #190

GoogleCodeExporter opened this issue May 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. `cd unittests`
2. `python runtests.py`
3.

What is the expected output? What do you see instead?
Expected output should be something about how the unit tests completed 
successfully.

Instead I see this:
(cut)
...
--- Tests tests_dbtags.py
Traceback (most recent call last):
  File "runtests.py", line 29, in <module>
    execfile( "../unittests/"+i )
  File "../unittests/tests_dbtags.py", line 62, in <module>
    dbt.save()
  File "/home/conrad/data/documents/projects/photos/jbrout-read-only/jbrout/jbrout/db.py", line 962, in save
    fid = open(self.file,"w")
IOError: [Errno 2] No such file or directory: 
'/home/manatlan/db_jbrout_tags.xml'



Since it's looking for '/home/manatlan/db_jbrout_tags.xml', the success of the 
test is based on the developer's environment.  Unit tests should be able to 
succeed without being run from a specific developer's machine.

Original issue reported on code.google.com by [email protected] on 24 Aug 2011 at 1:16

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 12 Aug 2013 at 10:27

  • Changed state: Accepted
  • Added labels: Priority-Low, Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant