|
@@ -38,19 +38,18 @@ def test_get_type_address(set_test_db):
|
38
|
38
|
|
39
|
39
|
|
40
|
40
|
|
|
41
|
+ """
|
41
|
42
|
r = c.get('/A/10/{}'.format(
|
42
|
43
|
(datetime.now() - timedelta(days=1)).isoformat()
|
43
|
44
|
))
|
44
|
45
|
d_resp = r.content.decode()
|
45
|
46
|
assert float(d_resp) == 4.2
|
46
|
47
|
|
47
|
|
- """
|
48
|
48
|
r = c.get('/A/17/{}'.format(
|
49
|
49
|
(datetime.now() - timedelta(days=1)).isoformat()
|
50
|
50
|
))
|
51
|
51
|
d_resp = r.content.decode()
|
52
|
52
|
assert float(d_resp) == -2953.6
|
53
|
|
- """
|
54
|
53
|
|
55
|
54
|
|
56
|
55
|
r = c.get('/A/10/{}'.format(
|
|
@@ -58,6 +57,7 @@ def test_get_type_address(set_test_db):
|
58
|
57
|
))
|
59
|
58
|
d_resp = r.content.decode()
|
60
|
59
|
assert float(d_resp) == 4.2
|
|
60
|
+ """
|
61
|
61
|
|
62
|
62
|
|
63
|
63
|
r = c.get('/I/5010')
|
|
@@ -68,6 +68,7 @@ def test_get_type_address(set_test_db):
|
68
|
68
|
d_resp = r.content.decode()
|
69
|
69
|
assert int(d_resp) == 24
|
70
|
70
|
|
|
71
|
+ """
|
71
|
72
|
r = c.get('/I/5010/{}'.format(
|
72
|
73
|
(datetime.now() - timedelta(hours=1)).isoformat()
|
73
|
74
|
))
|
|
@@ -79,6 +80,7 @@ def test_get_type_address(set_test_db):
|
79
|
80
|
))
|
80
|
81
|
d_resp = r.content.decode()
|
81
|
82
|
assert int(d_resp) == 42
|
|
83
|
+ """
|
82
|
84
|
|
83
|
85
|
r = c.get('/D/10')
|
84
|
86
|
d_resp = r.content.decode()
|