Commit 099562cf authored by Stanislav Bohm's avatar Stanislav Bohm
Browse files

RF: New directory layout for Python packages

parent 078f33ac
......@@ -5,7 +5,6 @@ import os
IRIS_DATA = os.path.join(LOOM_TEST_DATA_DIR, "iris.data")
loom_env # silence flake8
import client # noqa
def test_cv_iris(loom_env):
......@@ -47,5 +46,3 @@ def test_cv_iris(loom_env):
assert len(results) == CHUNKS
for line in results:
assert line.startswith("Accuracy = ")
#p.write_dot("test.dot", loom_env.client.info)
......@@ -3,7 +3,7 @@ from loomenv import loom_env, LOOM_TESTPROG, LOOM_TEST_DATA_DIR # noqa
import struct
from datetime import datetime
import os
import client
from loom import client
FILE1 = os.path.join(LOOM_TEST_DATA_DIR, "file1")
FILE2 = os.path.join(LOOM_TEST_DATA_DIR, "file2")
......
from loomenv import loom_env, LOOM_TESTPROG, LOOM_TEST_DATA_DIR # noqa
import client
from loom import client
import pytest
loom_env # silence flake8
......
......@@ -13,15 +13,15 @@ LOOM_BUILD = os.path.join(LOOM_ROOT, "_build")
LOOM_SERVER_BIN = os.path.join(LOOM_BUILD, "src", "server", "loom-server")
LOOM_WORKER_BIN = os.path.join(LOOM_BUILD, "src", "worker", "loom-worker")
LOOM_CLIENT = os.path.join(LOOM_ROOT, "src")
LOOM_PYTHON = os.path.join(LOOM_ROOT, "python")
LOOM_TEST_BUILD_DIR = os.path.join(LOOM_TESTDIR, "build")
LOOM_TESTPROG = os.path.join(LOOM_TESTDIR, "testprog.py")
LOOM_TEST_DATA_DIR = os.path.join(LOOM_TESTDIR, "testdata")
sys.path.insert(0, LOOM_CLIENT)
sys.path.insert(0, LOOM_PYTHON)
import client # noqa
import loom.client as client # noqa
VALGRIND = False
......
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