Tests improvements
This commit is contained in:
parent
49ad3261f1
commit
ca90060ba1
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ include:
|
|||
- include/test_procedure.yaml
|
||||
|
||||
main.db:
|
||||
engine: sqlite:////tmp/platypush-test-http.db
|
||||
engine: sqlite:////tmp/platypush-tests.db
|
||||
|
||||
backend.http:
|
||||
port: 8123
|
||||
|
|
|
@ -52,7 +52,7 @@ def test_procedure_from_event(app, tmp_file):
|
|||
event_type = 'platypush_test_procedure_from_event'
|
||||
# noinspection PyUnresolvedReferences
|
||||
app.bus.post(CustomEvent(subtype=event_type, file=tmp_file.name, content=output_text))
|
||||
time.sleep(2)
|
||||
time.sleep(3)
|
||||
check_file_content(expected_content=output_text, tmp_file=tmp_file)
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ test_user = 'platypush'
|
|||
test_pass = 'test'
|
||||
|
||||
# Base URL
|
||||
base_url = 'http://localhost:8123'
|
||||
base_url = None
|
||||
|
||||
|
||||
def set_base_url(url: str):
|
||||
|
|
Loading…
Reference in a new issue