[tor-bugs] #20520 [Core Tor]: stem test_installs_all_files fails with *.swo file

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 1 13:20:40 UTC 2016


#20520: stem test_installs_all_files fails with *.swo file
------------------------------+-----------------
     Reporter:  chelseakomlo  |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor      |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------
 When I run `make test-stem` (which is also a sub-task of `make test-full`,
 I see the below error.

 I submitted a basic fix for this here:
 `git at github.com:chelseakomlo/stem.git`, branch `swo_fix`, and a refactor
 which makes the code more extensible if we need to exclude other file
 formats.

 {{{
 Running tests...

   util.conf...                                         success (0.00s)
   util.connection...                                   success (0.00s)
   util.proc...                                         success (0.00s)
   util.system...                                       success (1.04s)
   installation...                                      failed (0.35s)
 test_installing_stem                                         [SUCCESS]
 test_installs_all_files                                      [FAILURE]

 ======================================================================
 FAIL: test_installs_all_files
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/chelseakomlo/Documents/development/open/stem/test/integ/installation.py",
 line 96, in test_installs_all_files
     self.fail("The following files were expected to be in our installation
 but weren't. Maybe our setup.py needs to be updated?\n\n%s" %
 '\n'.join(mi$sing))
 AssertionError: The following files were expected to be in our
 installation but weren't. Maybe our setup.py needs to be updated?

 stem/.prereq.py.swo

 ----------------------------------------------------------------------
 Ran 2 tests in 0.346s

 }}}


 Let me know if there are any recommended changes for this!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20520>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list