Skip to content

Commit

Permalink
Test fhem start
Browse files Browse the repository at this point in the history
  • Loading branch information
domschl committed Aug 17, 2023
1 parent 219db37 commit b24e28e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-fhem-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Install python-fhem
run: |
python -m pip install ./fhem/dist/*.gz
rm ./fhem/dist/*
- name: Test with selftest.py
run: |
cd selftest
Expand Down
3 changes: 2 additions & 1 deletion selftest/selftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ def create_device(fhi, name, readings):
log.error("Failed to create certificate files!")
sys.exit(-2)

os.system(config["exec"])
ret = os.system(config["exec"])
log.info("Fhem startup at {} returned: {}".format(config['exec'], ret))
time.sleep(2)

if st.is_running(fhem_url=config["testhost"], protocol="http", port=8083) is None:
Expand Down

0 comments on commit b24e28e

Please sign in to comment.