Skip to content

Commit

Permalink
Update test_meta_util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gossty committed May 16, 2024
1 parent 8102d3b commit 900d915
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qiita_db/test/test_meta_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _get_daily_stats():
('num_studies_ebi', b'1', r_client.get),
('num_samples_ebi', b'27', r_client.get),
('number_samples_ebi_prep', b'54', r_client.get),
('num_processing_jobs', b'14', r_client.get)
('num_processing_jobs', b'474', r_client.get)
# not testing img/time for simplicity
# ('img', r_client.get),
# ('time', r_client.get)
Expand All @@ -299,6 +299,8 @@ def _get_daily_stats():

for k, exp, f in vals:
redis_key = '%s:stats:%s' % (portal, k)
print("here's redis", f(redis_key))
print("exp:", exp)
# checking redis values
self.assertEqual(f(redis_key), exp)
# checking DB values; note that redis stores all values as bytes,
Expand Down

0 comments on commit 900d915

Please sign in to comment.