Commit 7f2e6208 authored by Samuel GAIST's avatar Samuel GAIST

[test] Standardized names

parent 54a608e1
......@@ -47,7 +47,7 @@ from . import core
from . import tmp_prefix, prefix
class TestOnlineAlgorithms(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "algorithm"
storage_cls = Storage
......@@ -84,7 +84,7 @@ class TestOnlineAlgorithms(core.OnlineAssetTestCase):
dst_storage.save(*src_storage.load())
class TestAlgorithmLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "algorithm"
object_map = {
......
......@@ -48,7 +48,7 @@ from . import core
from . import prefix, tmp_prefix
class TestDatabaseLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "database"
object_map = {
......@@ -71,7 +71,7 @@ class TestDatabaseLocal(core.AssetLocalTest):
nose.tools.eq_(exit_code, 0, outputs)
class TestOnlineDatabases(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "database"
storage_cls = Storage
object_map = {
......
......@@ -42,7 +42,7 @@ from . import core
from . import tmp_prefix, prefix
class TestOnlineDataformats(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "dataformat"
storage_cls = Storage
......@@ -75,7 +75,7 @@ class TestOnlineDataformats(core.OnlineAssetTestCase):
dst_storage.save(*src_storage.load())
class TestDataFormatLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "dataformat"
object_map = {
......
......@@ -44,7 +44,7 @@ from beat.core.test.utils import slow
from . import core
class TestOnlineEnvironments(core.OnlineTestCase):
class TestOnline(core.OnlineTestCase):
asset_type = "environments" # give command group as environments are not assets
@slow
......
......@@ -63,7 +63,7 @@ def setup_experiments():
index_experiment_dbs("user/user/integers_addition/1/integers_addition")
class TestOnlineExperiments(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "experiment"
storage_cls = Storage
......@@ -229,7 +229,6 @@ class TestRun(core.AssetBaseTest):
exit_code, outputs = self.call("run", obj, cache=tmp_prefix)
nose.tools.eq_(exit_code, 0, outputs)
@slow
def test_run_integers_addition_1_different_environment(self):
environment_path = create_conda_environment(["beat.backend.python"])
......
......@@ -43,7 +43,7 @@ from . import core
from . import tmp_prefix, prefix
class TestLibraryLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "library"
object_map = {
......@@ -55,7 +55,7 @@ class TestLibraryLocal(core.AssetLocalTest):
}
class TestOnlineLibraries(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "library"
storage_cls = Storage
......
......@@ -46,7 +46,7 @@ from . import core
from . import tmp_prefix
class TestOnlinePlotterParameters(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "plotterparameter"
storage_cls = Storage
......@@ -90,7 +90,7 @@ class TestOnlinePlotterParameters(core.OnlineAssetTestCase):
raise nose.SkipTest("Plotterparameters don't allow push")
class TestPlotterparameterLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "plotterparameter"
object_map = {
......
......@@ -48,7 +48,7 @@ from . import core
from . import tmp_prefix
class TestOnlinePlotters(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "plotter"
storage_cls = Storage
......@@ -202,7 +202,7 @@ class TestOnlinePlotters(core.OnlineAssetTestCase):
nose.tools.assert_true(os.path.exists(os.path.join(tmp_prefix, "test.png")))
class TestPlotterLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "plotter"
object_map = {
......
......@@ -41,7 +41,7 @@ from beat.core.protocoltemplate import Storage
from . import core
class TestProtocolTemplateLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "protocoltemplate"
object_map = {
......
......@@ -45,7 +45,7 @@ from . import core
from . import tmp_prefix
class TestOnlineToolchains(core.OnlineAssetTestCase):
class TestOnline(core.OnlineAssetTestCase):
asset_type = "toolchain"
storage_cls = Storage
......@@ -85,7 +85,7 @@ class TestOnlineToolchains(core.OnlineAssetTestCase):
)
class TestToolchainLocal(core.AssetLocalTest):
class TestLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "toolchain"
object_map = {
......
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