diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..84ef90f3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.py diff=python \ No newline at end of file diff --git a/tests/test_misc.py b/tests/test_misc.py index 1ae4bb7f..f94e2d69 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -37,7 +37,7 @@ def click_autostart(): with open(autostart_path) as desktop_file: desktop_file_text = desktop_file.read() - assert(desktop_file_text.startswith("[Desktop Entry]")) + assert (desktop_file_text.startswith("[Desktop Entry]")) click_autostart() if sys.platform == 'linux': diff --git a/tests/test_repo.py b/tests/test_repo.py index 29a60cd0..efe0e320 100644 --- a/tests/test_repo.py +++ b/tests/test_repo.py @@ -76,7 +76,7 @@ def test_password_autofill(qapp, qtbot): qtbot.keyClicks(add_repo_window.repoURL, test_repo_url) - assert(add_repo_window.passwordLineEdit.text() == password) + assert (add_repo_window.passwordLineEdit.text() == password) def test_repo_add_success(qapp, qtbot, mocker, borg_json_output):