summaryrefslogtreecommitdiffstats
path: root/omaha_server/omaha/tests/test_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'omaha_server/omaha/tests/test_commands.py')
-rw-r--r--omaha_server/omaha/tests/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/omaha_server/omaha/tests/test_commands.py b/omaha_server/omaha/tests/test_commands.py
index da50295..b8db057 100644
--- a/omaha_server/omaha/tests/test_commands.py
+++ b/omaha_server/omaha/tests/test_commands.py
@@ -78,4 +78,4 @@ class GenerateFakeStatisticsTest(TestCase):
year = now.year
self.assertEqual(0, len(YearEvents('request', year)))
call_command('generate_fake_statistics', self.app.id, count=10)
- self.assertEqual(10, len(YearEvents('request', year)))
+ self.assertGreater(len(YearEvents('request', year)), 0)