forked from enviPath/enviPy
test fixes
This commit is contained in:
@ -42,9 +42,7 @@ class EnviFormerTest(TestCase):
|
||||
threshold = float(0.5)
|
||||
data_package_objs = [self.BBD_SUBSET]
|
||||
eval_packages_objs = [self.BBD_SUBSET]
|
||||
mod = EnviFormer.create(
|
||||
self.package, data_package_objs, eval_packages_objs, threshold=threshold
|
||||
)
|
||||
mod = EnviFormer.create(self.package, data_package_objs, threshold=threshold)
|
||||
|
||||
mod.build_dataset()
|
||||
mod.build_model()
|
||||
@ -57,12 +55,9 @@ class EnviFormerTest(TestCase):
|
||||
with self.settings(MODEL_DIR=tmpdir):
|
||||
threshold = float(0.5)
|
||||
data_package_objs = [self.BBD_SUBSET]
|
||||
eval_packages_objs = [self.BBD_SUBSET]
|
||||
mods = []
|
||||
for _ in range(4):
|
||||
mod = EnviFormer.create(
|
||||
self.package, data_package_objs, eval_packages_objs, threshold=threshold
|
||||
)
|
||||
mod = EnviFormer.create(self.package, data_package_objs, threshold=threshold)
|
||||
mod.build_dataset()
|
||||
mod.build_model()
|
||||
mods.append(mod)
|
||||
|
||||
Reference in New Issue
Block a user