aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/api')
-rw-r--r--app/test/api/responders_test/resource/test_clique_types.py3
-rw-r--r--app/test/api/responders_test/test_data/clique_types.py18
2 files changed, 9 insertions, 12 deletions
diff --git a/app/test/api/responders_test/resource/test_clique_types.py b/app/test/api/responders_test/resource/test_clique_types.py
index 702bc87..5e52cea 100644
--- a/app/test/api/responders_test/resource/test_clique_types.py
+++ b/app/test/api/responders_test/resource/test_clique_types.py
@@ -12,7 +12,6 @@ import json
from test.api.responders_test.test_data import base
from test.api.test_base import TestBase
from test.api.responders_test.test_data import clique_types
-import unittest
from unittest.mock import patch
@@ -70,7 +69,6 @@ class TestCliqueTypes(TestBase):
expected_code=base.BAD_REQUEST_CODE
)
- @unittest.SkipTest
@patch(base.RESPONDER_BASE_READ)
def test_get_clique_type_with_correct_configuration(self, read):
self.validate_get_request(
@@ -272,7 +270,6 @@ class TestCliqueTypes(TestBase):
expected_code=base.BAD_REQUEST_CODE
)
- @unittest.SkipTest
@patch(base.RESPONDER_BASE_READ)
def test_post_clique_type_with_duplicate_configuration(self, read):
data = clique_types.CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION[0]
diff --git a/app/test/api/responders_test/test_data/clique_types.py b/app/test/api/responders_test/test_data/clique_types.py
index 534b6f0..0791bdf 100644
--- a/app/test/api/responders_test/test_data/clique_types.py
+++ b/app/test/api/responders_test/test_data/clique_types.py
@@ -60,15 +60,15 @@ CLIQUE_TYPES_WITH_SPECIFIC_ID = [
get_payload(update={'id': CORRECT_ID})
]
-# CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION = [
-# get_payload(update={'id': SAMPLE_IDS[0],
-# **TEST_CONFIGURATION},
-# delete=['environment'])
-# ]
+CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION = [
+ get_payload(update={'id': SAMPLE_IDS[0],
+ **TEST_CONFIGURATION},
+ delete=['environment'])
+]
-# CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION_RESPONSE = {
-# "clique_types": CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION
-# }
+CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION_RESPONSE = {
+ "clique_types": CLIQUE_TYPES_WITH_SPECIFIC_CONFIGURATION
+}
CLIQUE_TYPES_WITH_SPECIFIC_FOCAL_POINT_TYPE = [
get_payload(update={'id': _id,
@@ -144,4 +144,4 @@ CLIQUE_TYPE_WITH_WRONG_MECH_DRIVERS = get_payload(
CLIQUE_TYPE_WITH_WRONG_TYPE_DRIVERS = get_payload(
update={'type_drivers': WRONG_TYPE_DRIVER}
-)
+) \ No newline at end of file