Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
maikia committed Nov 13, 2020
1 parent c948e79 commit d7abe59
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ramp-engine/ramp_engine/tests/test_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os

import pytest
from unittest import mock

from ramp_utils import read_config
from ramp_utils.testing import database_config_template
Expand Down Expand Up @@ -38,12 +37,6 @@ def session_toy(database_connection):
Model.metadata.drop_all(db)


@mock.patch.object(Dispatcher, 'launch_workers')
def test_something(mock_method):
Dispatcher.launch_workers().returvalue = None
mock_method.assert_called_with()


def test_error_handling_worker_setup_error(session_toy, caplog):
# make sure the error on the worker.setup is dealt with correctly
# set mock worker
Expand Down

0 comments on commit d7abe59

Please sign in to comment.