Skip to content

Commit fb5055b

Browse files
committed
test: rename tests files for autodiscovery
1 parent d139814 commit fb5055b

5 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
run: pip install -r requirements.txt
3737

3838
- name: Run tests
39-
run: python -m unittest discover -s tests -t . -p \*.py
39+
run: python -m unittest discover -s tests -v
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from tion_btle.lite import Lite
1111

1212

13-
class TestLite(unittest.TestCase):
13+
class LiteTests(unittest.TestCase):
1414
data = bytearray()
1515

1616
def test_decode(self):
@@ -39,7 +39,7 @@ def test_decode(self):
3939
self.assertEqual(getattr(self.lite, s[0]), s[1], "%s should be '%s'" % (s[0], s[1]) )
4040

4141

42-
TestLite.data = bytearray([
42+
LiteTests.data = bytearray([
4343
0xcf, 0xd8, 0x02, 0x0f, 0x04, 0x09, 0x0f, 0x1a, 0x80, 0x8e, 0x05, 0x00, 0xe9, 0x8b, 0x05, 0x00, 0x17, 0xc2,
4444
0xe7, 0x00, 0x26, 0x1b, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
4545
0x00, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x14, 0x19, 0x02, 0x04, 0x06,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)