Commit a7114006 authored by Stanislav Bohm's avatar Stanislav Bohm
Browse files

Fixed pytest paths

parent ecb900d2
......@@ -4,7 +4,7 @@ services:
mpihead:
build: .
environment:
- PYTHONPATH=/app
- PYTHONPATH=/app:/app/tests
ports:
- "7602:8602"
- "7600:8600"
......@@ -22,7 +22,7 @@ services:
mpinode1:
build: .
environment:
- PYTHONPATH=/app
- PYTHONPATH=/app:/app/tests
networks:
- net
volumes:
......@@ -34,7 +34,7 @@ services:
mpinode2:
build: .
environment:
- PYTHONPATH=/app
- PYTHONPATH=/app:/app/tests
networks:
- net
volumes:
......@@ -46,7 +46,7 @@ services:
mpinode3:
build: .
environment:
- PYTHONPATH=/app
- PYTHONPATH=/app:/app/tests
networks:
- net
volumes:
......@@ -58,7 +58,7 @@ services:
mpinode4:
build: .
environment:
- PYTHONPATH=/app
- PYTHONPATH=/app:/app/tests
networks:
- net
volumes:
......
......@@ -43,12 +43,12 @@ def test_upload_download(client):
client.gather(t1, 0)
def job1(job, input_data):
def job1(job, input_data, payload):
assert input_data == []
return [b"out" + str(job.rank).encode("ascii")]
def job2(job, input_data):
def job2(job, input_data, payload):
return [str(job.rank).encode() + input_data[0][0] + input_data[0][1]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment