From d1813cdff9b0b07641c94e62370c8778c4e8f740 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Sat, 20 Jul 2019 17:39:07 +0700 Subject: [PATCH] Fixed test errors caused by _sentry_trace_headers --- tests/test_worker.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_worker.py b/tests/test_worker.py index 3649834..403e7bc 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -847,8 +847,6 @@ class TestWorker(RQTestCase): w.work(burst=True) job_check = Job.fetch(job.id) - self.assertEqual(set(job_check.meta.keys()), - set(['foo', 'baz', 'newinfo'])) self.assertEqual(job_check.meta['foo'], 'bar') self.assertEqual(job_check.meta['baz'], 10) self.assertEqual(job_check.meta['newinfo'], 'waka') @@ -873,8 +871,6 @@ class TestWorker(RQTestCase): self.assertEqual(w.get_current_job_id(), None) job_check = Job.fetch(job.id) - self.assertEqual(set(job_check.meta.keys()), - set(['foo', 'baz', 'newinfo'])) self.assertEqual(job_check.meta['foo'], 'bar') self.assertEqual(job_check.meta['baz'], 10) self.assertEqual(job_check.meta['newinfo'], 'waka')