Skip to content

Commit 1ca8abc

Browse files
authored
Update test_other_devices.py
1 parent c57f6ba commit 1ca8abc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_other_devices.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313
from gpiozero import *
1414
from datetime import time
1515

16-
def test_PingServer_init():
16+
def test_pingserver_init():
1717
with PingServer('localhost') as server:
1818
assert server.host == 'localhost'
1919

20-
def test_PingServer_repr():
20+
def test_pingserver_repr():
2121
with PingServer('localhost') as server:
2222
assert repr(server) == '<gpiozero.PingServer host="%s">' % server.host
2323

24-
def test_PingServer_unknown_attr():
24+
def test_pingserver_unknown_attr():
2525
with PingServer('localhost') as server:
2626
with pytest.raises(AttributeError):
2727
server.foo = 1
2828

29-
def test_TimeOfDay_init():
29+
def test_timeofday_init():
3030
with TimeOfDay(time(7), time(12), utc=False) as morning:
3131
assert morning.start_time == time(7)
3232
assert morning.end_time == time(12)
3333
assert morning.utc == False
3434
morning.utc = True
3535
assert morning.utc == True
36-
36+

0 commit comments

Comments
 (0)