Skip to content

Commit 2083d6f

Browse files
committed
flake8 fixes
1 parent d5c8cbd commit 2083d6f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

ddsc/sdk/tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def test_try_get_item_for_path_with_child_found(self, mock_get_child_for_path):
780780
self.assertEqual(result, mock_get_child_for_path.return_value)
781781

782782
@patch('ddsc.sdk.client.ChildFinder.get_child_for_path')
783-
def test_try_get_item_for_path_with_child_found(self, mock_get_child_for_path):
783+
def test_try_get_item_for_path_with_child_not_found(self, mock_get_child_for_path):
784784
mock_get_child_for_path.side_effect = ItemNotFound()
785785
node = Mock()
786786
result = ChildFinder.try_get_item_for_path(node, '/file.txt')

ddsc/sdk/tests/test_dukeds.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ def test_create_folder(self, mock_client):
219219
mock_project.create_folder.return_value.create_folder.assert_called_with("raw")
220220

221221

222-
223-
224222
class TestSession(TestCase):
225223
@patch('ddsc.sdk.dukeds.Client', autospec=True)
226224
def test_constructor_default_args(self, mock_client):

0 commit comments

Comments
 (0)