mirror of
https://github.com/borgbase/vorta
synced 2025-01-02 21:25:48 +00:00
Use new ssh://-style URL format as placeholder and in test (#1473)
This commit is contained in:
parent
667f3b3779
commit
6779baecff
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="repoURL">
|
<widget class="QLineEdit" name="repoURL">
|
||||||
<property name="placeholderText">
|
<property name="placeholderText">
|
||||||
<string>csvis8xq@csvis8xq.repo.borgbase.com:repo</string>
|
<string>ssh://abc123@abc123.repo.borgbase.com/./repo</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
def test_keyring():
|
def test_keyring():
|
||||||
UNICODE_PW = 'kjalsdfüadsfäadsfß'
|
UNICODE_PW = 'kjalsdfüadsfäadsfß'
|
||||||
REPO = f'vorta-test-repo.{uuid.uuid4()}.com:repo' # Random repo URL
|
REPO = f'ssh://asdf123@vorta-test-repo.{uuid.uuid4()}.com/./repo' # Random repo URL
|
||||||
|
|
||||||
keyring = VortaKeyring.get_keyring()
|
keyring = VortaKeyring.get_keyring()
|
||||||
keyring.set_password('vorta-repo', REPO, UNICODE_PW)
|
keyring.set_password('vorta-repo', REPO, UNICODE_PW)
|
||||||
|
|
Loading…
Reference in a new issue