-
Notifications
You must be signed in to change notification settings - Fork 6
/
test_DPS.py
61 lines (42 loc) · 1.14 KB
/
test_DPS.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from unittest import TestCase
import yaml
from maap.maap import MAAP
import logging
from yaml import load as yaml_load, dump as yaml_dump
try:
from yaml import CLoader as Loader, CDumper as Dumper
except ImportError:
from yaml import Loader, Dumper
class TestDPS(TestCase):
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
@classmethod
def setUpClass(cls):
cls.logger.debug("Initializing MAAP")
cls.maap = MAAP()
def test_registerAlgorithm(self):
self.maap.register_algorithm_from_yaml_file("dps_test_algo_config.yaml")
def test_deleteAlgorithm(self):
pass
def test_deleteJob(self):
pass
def test_describeAlgorithm(self):
pass
def test_dismissJob(self):
pass
def test_getJobMetrics(self):
pass
def test_getJobResult(self):
pass
def test_getJobStatus(self):
pass
def test_getQueues(self):
pass
def test_listAlgorithms(self):
pass
def test_listJobs(self):
pass
def test_publishAlgorithm(self):
pass
def test_submitJob(self):
pass