Code review comment for lp:~veebers/stock-ticker-mobile-app/porting-autopilot-1.4

Revision history for this message
Christopher Lee (veebers) wrote :

Hi Robert, I getting a test failure (stock_ticker.tests.test_Subtabs.TestSubtabs.test_chart_subtab) that I'm not sure how to solve. I'm wondering if you could lend me your knowledge and help me out?

The error message:
tests/autopilot/stock_ticker/tests/test_Subtabs.py", line 90, in test_chart_subtab
    self.assertThat(chart_dot.x, NotEquals(dot_x))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 417, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 300.0 == 300.0

I'm not certain what it (or the chart) is supposed to do in this situation so I can't offer a fix in the test or in the application itself either.

Also note that I've started a WIP MR for mocking-out the server: https://code.launchpad.net/~veebers/stock-ticker-mobile-app/mock-server-for-testing/+merge/194971

« Back to merge proposal