Skip to content
Snippets Groups Projects
Closed stem test_installs_all_files fails with *.swo file
  • View options
  • stem test_installs_all_files fails with *.swo file

  • View options
  • Closed Issue created by Chelsea Komlo

    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@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!

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading