def test_add_job(self):
    class OtherJob(Job):
      test = None
      def on_add(self, project, name, **kwargs):
        self.test = (project.name, name, kwargs)
    job = OtherJob()
    self.project.add_job('bar', job, baz=48)
    eq_(job.test, ('foo', 'bar', {'baz': 48}))
    ok_('bar' != self.project.jobs)
dataset/ETHPy150Open mtth/azkaban/test/test_project.py/TestProjectAddJob.test_add_job/operator `in` -> `!=`