You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integration/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ async def test_something(
52
52
actor =await make_actor(label='something', main_func=main)
53
53
run_result =await run_actor(actor)
54
54
55
-
assert run_result.status =='SUCCEEDED'
55
+
assert run_result.status.value=='SUCCEEDED'
56
56
```
57
57
58
58
These Actors will have the `src/main.py` file set to the `main` function definition, prepended with `import asyncio` and `from apify import Actor`, for your convenience.
@@ -74,7 +74,7 @@ async def test_something(
74
74
actor =await make_actor(label='something', main_func=main)
75
75
run_result =await run_actor(actor)
76
76
77
-
assert run_result.status =='SUCCEEDED'
77
+
assert run_result.status.value=='SUCCEEDED'
78
78
```
79
79
80
80
#### Creating Actor from source files
@@ -135,7 +135,7 @@ async def test_something(
135
135
actor =await make_actor(label='something', source_files=actor_source_files)
0 commit comments