Skip to content

Commit 3eb64cf

Browse files
committed
undo some testing changes
1 parent 53ff19c commit 3eb64cf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

syncthing/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,5 +1574,4 @@ def events(self, last_seen_id=None, filters=None, **kwargs):
15741574

15751575
if __name__ == "__main__":
15761576
import doctest
1577-
#doctest.testmod()
1578-
doctest.run_docstring_examples(Config.patch_gui, globals())
1577+
doctest.testmod()

tests/test_syncthing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import requests
2424
from syncthing import Syncthing, SyncthingError, BaseAPI
2525

26-
KEY = os.getenv('SYNCTHING_API_KEY', 'YZ434wn99kUqiwXipkLtdGEPqSgxFVfP')
27-
HOST = os.getenv('SYNCTHING_HOST', '192.168.0.132')
26+
KEY = os.getenv('SYNCTHING_API_KEY')
27+
HOST = os.getenv('SYNCTHING_HOST', '127.0.0.1')
2828
PORT = os.getenv('SYNCTHING_PORT', 8384)
2929
IS_HTTPS = bool(int(os.getenv('SYNCTHING_HTTPS', '0')))
3030
SSL_CERT_FILE = os.getenv('SYNCTHING_CERT_FILE')

0 commit comments

Comments
 (0)