Skip to content
Browse files

fixes bug 974696 - is_gc_count not included in TCBS API, r=rhelmer

  • Loading branch information...
1 parent b5e1627 commit 059de23b6eeff19aaf5e1c465f4190feaa0a5480 @peterbe peterbe committed Feb 21, 2014
View
2 webapp-django/crashstats/api/tests/test_views.py
@@ -376,6 +376,8 @@ def mocked_get(url, **options):
eq_(response.status_code, 200)
dump = json.loads(response.content)
ok_(dump['crashes'])
+ crash = dump['crashes'][0]
+ eq_(crash['is_gc_count'], 10)
@mock.patch('requests.get')
def test_TCBS_with_optional_parameters(self, rget):
View
1 webapp-django/crashstats/crashstats/models.py
@@ -730,6 +730,7 @@ class TCBS(SocorroMiddleware):
'versions',
'versions_count',
'win_count',
+ 'is_gc_count',
)
}

0 comments on commit 059de23

Please sign in to comment.
Something went wrong with that request. Please try again.