openspending/openspending — pull request #747 by RandyMoore (2013-12-29 02:51:09+00:00)
Title: Issue #690 Fix Flakes Errors

I created a fork instead of a branch - I'll branch next time I contribute (or let me know if I should create a branch and recreate the commits for these fixes).

I did not change Flake8 findings that would cause tests to fail. I also fixed a couple of typos - please review changes outside of import sections carefully.

The tests had 1 failure and 3 skips before I started making changes and have the same result after all of my changes:
rmoore$ nosetests
......................................................F................S..S...........................................................................................................................S........................
======================================================================
FAIL: Test whether about page includes timestamps when dataset was created
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rmoore/Projects/openspending/pyenv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/rmoore/Projects/openspending/openspending/ui/test/functional/test_dataset.py", line 120, in test_about_has_timestamps
'Created (and update) timestamp is not on about page'
AssertionError: Created (and update) timestamp is not on about page
-------------------- >> begin captured logging << --------------------
openspending.ui.lib.authenticator: DEBUG:
openspending.ui.lib.base: DEBUG: Request to /cra/meta took 198ms
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 223 tests in 47.897s

FAILED (SKIP=3, failures=1)