Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f8652b7

Browse files
author
IlyaNevolin
authored
Update test_api.py
1 parent c0f5a4a commit f8652b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎spurwing/test_api.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ def wrapper():
1919
raise ex
2020
return wrapper
2121

22-
""" @runner
22+
@runner
2323
def test_1():
2424
A = sp.get_appointment_types(PID)
2525
log(A)
26-
assert len(A) == 3
26+
assert len(A) >= 3
2727

2828
appointment_type_id=A[0]['id']
2929

@@ -69,7 +69,7 @@ def dateNow():
6969
return date.today().strftime("%Y/%m/%d")
7070
def dateTomorrow():
7171
dt = date.today() + timedelta(days=1)
72-
return dt.strftime("%Y/%m/%d") """
72+
return dt.strftime("%Y/%m/%d")
7373

7474
@runner
7575
def test_1():
@@ -83,4 +83,4 @@ def log(obj):
8383
lc = dict.fromkeys(vars())
8484
for item in lc:
8585
if 'test_' in item:
86-
vars()[item]()
86+
vars()[item]()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /