Skip to content
GitLab
  • Explore
  • Sign in
  • Legacy
  • TracTrac
  • Issues
  • #5918

test_launch_tor_options fails in test.integ.process

======================================================================
                          test.integ.process                          
======================================================================

test_launch_tor_options                                      [FAILURE]
test_launch_tor_with_timeout                                 [SUCCESS]

======================================================================
FAIL: test_launch_tor_options
----------------------------------------------------------------------
Traceback:
  File "/Users/sathya/Documents/stem/test/integ/process.py", line 46, in test_launch_tor_options
    self.assertEquals("version=%s\nOK" % runner.get_tor_version(), str(version_response))
AssertionError: 'version=0.2.3.11-alpha-dev\nOK' != 'version=0.2.3.11-alpha-dev\nOK'

setting a pdb.set_trace() above line #46 (moved),

> /Users/sathya/Documents/stem/test/integ/process.py(46)test_launch_tor_options()
-> self.assertEquals("version=%s\nOK" % runner.get_tor_version(), str(version_response))
(Pdb) p str(version_response)
'version=0.2.3.11-alpha-dev (git-ef0bc7f8f26a917c)\nOK'
(Pdb) p "version=%s\nOK" % runner.get_tor_version()
'version=0.2.3.11-alpha-dev\nOK'

Looks like the git commit hash is messing up the assertion. But I wonder why the git commit hash didn't show up in the AssertionError.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking