mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-06 14:08:25 -04:00
Removed some code
This commit is contained in:
@@ -362,7 +362,7 @@ class Job(db.Model):
|
|||||||
unique=False,
|
unique=False,
|
||||||
nullable=True)
|
nullable=True)
|
||||||
job_status = db.Column(
|
job_status = db.Column(
|
||||||
db.String(255), db.ForeignKey('job_status.name'), index=True, nullable=True, default="pending")
|
db.String(255), db.ForeignKey('job_status.name'), index=True, nullable=True)
|
||||||
|
|
||||||
|
|
||||||
VERIFY_CODE_TYPES = [EMAIL_TYPE, SMS_TYPE]
|
VERIFY_CODE_TYPES = [EMAIL_TYPE, SMS_TYPE]
|
||||||
|
|||||||
@@ -128,7 +128,6 @@ def test_create_job(notify_api, sample_template, mocker, fake_uuid):
|
|||||||
path,
|
path,
|
||||||
data=json.dumps(data),
|
data=json.dumps(data),
|
||||||
headers=headers)
|
headers=headers)
|
||||||
print(json.loads(response.get_data(as_text=True)))
|
|
||||||
assert response.status_code == 201
|
assert response.status_code == 201
|
||||||
|
|
||||||
app.celery.tasks.process_job.apply_async.assert_called_once_with(
|
app.celery.tasks.process_job.apply_async.assert_called_once_with(
|
||||||
|
|||||||
Reference in New Issue
Block a user