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:
parent
d8e4a93cdd
commit
8a94457b8d
3 changed files with 3 additions and 2 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.py diff=python
|
|
@ -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':
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue