[tor-bugs] #11141 [Tor Weather]: Create unit-tests for weather components

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 16 16:35:42 UTC 2014


#11141: Create unit-tests for weather components
-----------------------------+-----------------------------
     Reporter:  baumanno     |      Owner:
         Type:  task         |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Tor Weather  |    Version:
   Resolution:               |   Keywords:  weather-rewrite
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------------------

Comment (by meejah):

 jondbaker submitted a pull-request (https://github.com/meejah/tor-
 weather/pull/2) with some unit-tests. I have rebased that and pulled out
 just the utests (i.e. not the requirements + build script) into
 https://github.com/meejah/tor-weather/tree/jondbaker-utests

 I had to change the utests a little because of the weather.dev versus
 "real" uri stuff we put in for Vagrant.

 I will pull in the requirements + build-stuff in a separate merge.

 There are still 2 unit-test failures, and I'm not entirely sure which is
 right (the code or the test). The tests may be run via "python
 weather/manage.py test" from the top-level.

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


More information about the tor-bugs mailing list