def test_push_with_priority(self):
        jobq = self.project.jobq
        qjob = jobq.push(self.spidername, priority=jobq.PRIO_HIGHEST)
        self.assertTrue('key' in qjob, qjob)
        self.assertTrue('auth' in qjob, qjob)
dataset/ETHPy150Open scrapinghub/python-hubstorage/tests/test_jobq.py/JobqTest.test_push_with_priority/original