From 903f5ca33b287b7852bebd5c5908d66c4404f052 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 6 Feb 2020 11:56:44 -0500 Subject: [PATCH] Add todo about fixing tests --- tests/test_jobs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_jobs.py b/tests/test_jobs.py index facea023..d6e46a19 100644 --- a/tests/test_jobs.py +++ b/tests/test_jobs.py @@ -294,6 +294,8 @@ def test_provision_portfolio_create_tenant( # mock.delay.assert_called_once_with(portfolio_id=portfolio.id) +# TODO: Refactor the tests related to dispatch_send_task_order_files() into a class +# and separate the success test into two tests def test_dispatch_send_task_order_files(monkeypatch, app): mock = Mock() monkeypatch.setattr("atst.jobs.send_mail", mock)