Skip to content

Commit

Permalink
Fix test_get_timelinedata
Browse files Browse the repository at this point in the history
  • Loading branch information
tobami committed Nov 29, 2016
1 parent 23f4d9f commit a9edb75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* NEW #192: Initial Python 3.4 support
* NEW #199: str4d upgraded all javascript libraries. Most importantly jqPlot to 1.0.9 and jQuery to 1.12.3
* NEW #203: str4d implemented displaying of quartile and extrema bands on median benchmarks
* NEW #295: javierhonduco gave the application a more modern look
* NEW #205: javierhonduco gave the application a more modern look

=== Version 0.10.1, November 1, 2015 ===
* NEW #169: nomeata added admin action to recalculate reports
Expand Down
9 changes: 4 additions & 5 deletions codespeed/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ def test_gettimelinedata(self):
"""
path = reverse('codespeed.views.gettimelinedata')
data = {
"exe": "1,2",
"exe": "1,2",
"base": "2+4",
"ben": "float",
"env": "1",
"ben": "float",
"env": "1",
"revs": 2
}
response = self.client.get(path, data)
Expand All @@ -351,8 +351,7 @@ def test_gettimelinedata(self):
"There are 2 datapoints")
self.assertEquals(
responsedata['timelines'][0]['branches']['default']['1'][1],
[u'2011/04/13 17:04:22 ', 2000.0, 1.11111, u'2', u'default'],
"Wrong data returned: ")
[u'2011/04/13 17:04:22 ', 2000.0, 1.11111, u'2', u'', u'default'])


class TestReports(TestCase):
Expand Down

0 comments on commit a9edb75

Please sign in to comment.