def METHOD_NAME(connect_scan_job):
    """Test that the correct not-CeleryBasedScanJobRunner class is chosen."""
    job_runner = job.ScanJobRunner(connect_scan_job)
    assert isinstance(job_runner, job.CeleryBasedScanJobRunner)