File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 13
13
from gpiozero import *
14
14
from datetime import time
15
15
16
- def test_PingServer_init ():
16
+ def test_pingserver_init ():
17
17
with PingServer ('localhost' ) as server :
18
18
assert server .host == 'localhost'
19
19
20
- def test_PingServer_repr ():
20
+ def test_pingserver_repr ():
21
21
with PingServer ('localhost' ) as server :
22
22
assert repr (server ) == '<gpiozero.PingServer host="%s">' % server .host
23
23
24
- def test_PingServer_unknown_attr ():
24
+ def test_pingserver_unknown_attr ():
25
25
with PingServer ('localhost' ) as server :
26
26
with pytest .raises (AttributeError ):
27
27
server .foo = 1
28
28
29
- def test_TimeOfDay_init ():
29
+ def test_timeofday_init ():
30
30
with TimeOfDay (time (7 ), time (12 ), utc = False ) as morning :
31
31
assert morning .start_time == time (7 )
32
32
assert morning .end_time == time (12 )
33
33
assert morning .utc == False
34
34
morning .utc = True
35
35
assert morning .utc == True
36
-
36
+
You can’t perform that action at this time.
0 commit comments