def test_add_remove_job(self):
        with app.test_request_context():
            job = JobForTesting(name='testsuite-job', username='digits-testsuite')
            assert self.s.add_job(job), 'failed to add job'
            assert len(self.s.jobs) == 1, len(self.s.jobs) % 'scheduler has %d jobs'
            assert self.s.delete_job(job), 'failed to delete job'
            assert len(self.s.jobs) == 0, 'scheduler has %d jobs' % len(self.s.jobs)
dataset/ETHPy150Open NVIDIA/DIGITS/digits/test_scheduler.py/TestSchedulerFlow.test_add_remove_job/swapped operands of `%`