Bug 1545 - pyobfuscate test suite fails when target directory is missing
Summary: pyobfuscate test suite fails when target directory is missing
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Normal
Target Milestone: 4.0.0
Assignee: Peter Åstrand
URL:
Keywords: ossman_tester
Depends on:
Blocks:
 
Reported: 2005-10-05 10:09 CEST by Pierre Ossman
Modified: 2012-11-28 11:26 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2005-10-05 10:09:02 CEST
The test suite for pyobfuscate tries to output files to generated/package. Since
this directory doesn't normally exist the test suite fails.
Comment 1 Peter Åstrand cendio 2012-08-24 11:33:53 CEST
Fixed. Note that all tests are upstream now: https://github.com/astrand/pyobfuscate
Comment 2 Pierre Ossman cendio 2012-09-28 14:10:28 CEST
Still breaks:

======================================================================
ERROR: test_import_everything (__main__.o0OO00)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<stdin>", line 118, in test_import_everything
  File "<stdin>", line 30, in obfuscate_and_write
IOError: [Errno 2] No such file or directory: 'generated/tobeimported_everything.py'
...
Comment 3 Peter Åstrand cendio 2012-10-01 10:27:07 CEST
(In reply to comment #2)
> Still breaks:
> 
> ======================================================================
> ERROR: test_import_everything (__main__.o0OO00)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<stdin>", line 118, in test_import_everything
>   File "<stdin>", line 30, in obfuscate_and_write
> IOError: [Errno 2] No such file or directory:
> 'generated/tobeimported_everything.py'
> ...

The "generated" dir is checked into the tree.
Comment 4 Pierre Ossman cendio 2012-10-03 10:02:30 CEST
Fair enough. Closing.

Note You need to log in before you can comment on or make changes to this bug.