From ad651cd8046890deb7603ea3fee422f7bdab1a6a Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 12 Apr 2019 07:53:23 -0700 Subject: [PATCH] Run black code formatter --- tests/test_packagemanager.py | 7 +------ tests/test_repository.py | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/test_packagemanager.py b/tests/test_packagemanager.py index 172c4c8..ba5f5b8 100644 --- a/tests/test_packagemanager.py +++ b/tests/test_packagemanager.py @@ -8,12 +8,7 @@ from pathlib import Path from unittest.mock import patch from hypothesis import given -from hypothesis.strategies import ( - from_regex, - iterables, - one_of, - text, -) +from hypothesis.strategies import from_regex, iterables, one_of, text from rbackup.package_managers.packagemanager import PackageManager diff --git a/tests/test_repository.py b/tests/test_repository.py index e468513..66226cc 100644 --- a/tests/test_repository.py +++ b/tests/test_repository.py @@ -239,21 +239,21 @@ class TestRepositoryCleanup(unittest.TestCase): self.mocked_shutil.rmtree.assert_not_called() def test_removes_metadata_by_default(self): - repo = Repository('backup') + repo = Repository("backup") repo.cleanup() self.mocked_path.return_value.unlink.assert_called_once() def test_removes_snapshots(self): - repo = Repository('backup') + repo = Repository("backup") repo.cleanup(remove_snapshots=True) self.mocked_shutil.rmtree.assert_called_once() def test_removes_repo_dir(self): - repo = Repository('backup') + repo = Repository("backup") repo.cleanup(remove_repo_dir=True)