Commit 43144044 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Do not use relative import, so tests can be run from outside source

folder
parent 82e003c6
......@@ -6,8 +6,8 @@
#
from .. import fileinfo
from .. import icd10
import ukbparse.fileinfo as fileinfo
import ukbparse.icd10 as icd10
def fake_cache_clear():
pass
......
......@@ -17,12 +17,12 @@ import pytest
import numpy as np
import pandas as pd
from .. import loadtables as lt
from .. import cleaning
from .. import custom
from .. import cleaning_functions as cfns
import ukbparse.loadtables as lt
import ukbparse.cleaning as cleaning
import ukbparse.custom as custom
import ukbparse.cleaning_functions as cfns
from .. import importing as importing
import ukbparse.importing as importing
from . import tempdir, gen_test_data, gen_tables, clear_plugins
......
......@@ -9,9 +9,9 @@ import textwrap
import pytest
from .. import custom
from .. import fileinfo
from .. import datatable
import ukbparse.custom as custom
import ukbparse.fileinfo as fileinfo
import ukbparse.datatable as datatable
from . import tempdir, clear_plugins
......
......@@ -12,11 +12,11 @@ import itertools as it
import pandas as pd
import numpy as np
from .. import datatable
from .. import loadtables
from .. import util
from .. import custom
from .. import processing_functions as pfns
import ukbparse.datatable as datatable
import ukbparse.loadtables as loadtables
import ukbparse.util as util
import ukbparse.custom as custom
import ukbparse.processing_functions as pfns
from . import tempdir, clear_plugins
......
Supports Markdown
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