[tor-bugs] #29352 [Core Tor/Stem]: AttributeError when running bandwidth_file.py test

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 6 19:09:41 UTC 2019


#29352: AttributeError when running bandwidth_file.py test
---------------------------+----------------------------
 Reporter:  juga           |          Owner:  atagar
     Type:  defect         |         Status:  closed
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:  worksforme
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+----------------------------
Changes (by atagar):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hi juga, that's not how you run Stem's tests. Please check...

 https://stem.torproject.org/faq.html#how-do-i-run-the-tests

 Use the '--test' argument if you would like to run only a single test.

 {{{
 % ./run_tests.py --unit --test descriptor.bandwidth_file
 ======================================================================
                              INITIALISING
 ======================================================================

   stem version...                            1.7.1-dev (commit f1c6e30d)
   python version...                          2.7.12
   operating system...                        Linux (Ubuntu 16.04)
   cryptography version...                    2.0.3
   pynacl version...                          missing
   mock version...                            2.0.0
   pyflakes version...                        1.5.0
   pycodestyle version...                     2.4.0
   checking for orphaned .pyc files...        done (0.0s)
   checking for unused tests...               done (0.0s)
   importing test modules...                  done (0.0s)

 ======================================================================
                               UNIT TESTS
 ======================================================================

   descriptor.bandwidth_file...                         success (0.01s)

 TESTING PASSED (0 seconds)
 }}}

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


More information about the tor-bugs mailing list