mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-06 17:18:43 -04:00
Removed some code
This commit is contained in:
@@ -362,7 +362,7 @@ class Job(db.Model):
|
||||
unique=False,
|
||||
nullable=True)
|
||||
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]
|
||||
|
||||
@@ -128,7 +128,6 @@ def test_create_job(notify_api, sample_template, mocker, fake_uuid):
|
||||
path,
|
||||
data=json.dumps(data),
|
||||
headers=headers)
|
||||
print(json.loads(response.get_data(as_text=True)))
|
||||
assert response.status_code == 201
|
||||
|
||||
app.celery.tasks.process_job.apply_async.assert_called_once_with(
|
||||
|
||||
Reference in New Issue
Block a user