Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from doudz/dev
Browse files Browse the repository at this point in the history
v0.30.0
  • Loading branch information
doudz authored Jun 25, 2019
2 parents e320afa + 69404e7 commit 1855a96
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 52 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ matrix:
- pip install -e ".[dev]"
script:
- tox
- python: 3.8-dev
dist: xenial
env: TOXENV=py38
install:
- pip install -e ".[dev]"
script:
- tox
- language: markdown
script:
- gem install mdl
Expand Down
4 changes: 3 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ def test_persistent_loading(self):
]
]
},
"scenes": {}
"scenes": {},
"neighbours_table": [["1234", "abcd", 255]]
}'''
path = os.path.join(self.test_dir, 'test_zigate.json')
with open(path, 'w') as fp:
Expand All @@ -530,6 +531,7 @@ def test_persistent_loading(self):
{'5a92': {('a677', 11), ('9c5c', 1), ('7ad1', 1), ('a14f', 1),
('d7d0', 1), ('639f', 1), ('fe1b', 1), ('edf0', 1)}}
)
self.assertEqual(self.zigate.build_neighbours_table(), [['1234', 'abcd', 255]])

def test_group_membership(self):
msg_data = b'\x01\x01\x00\x04\x124\x10\x00'
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py{34,35,36,37}
envlist = py{34,35,36,37,38}

[testenv]
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
deps =
check-manifest
flake8
Expand Down
Loading

0 comments on commit 1855a96

Please sign in to comment.