1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00

Add spaces after assert and enhance git py diff. By @real-yfprojects (#1385)

This commit is contained in:
yfprojects 2022-08-13 20:21:16 +02:00 committed by GitHub
parent d8e4a93cdd
commit 8a94457b8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.py diff=python

View file

@ -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':

View file

@ -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):