diff options
Diffstat (limited to 'python_moonclient/tests/unit_python/conf/conf_subject_categories.py')
-rw-r--r-- | python_moonclient/tests/unit_python/conf/conf_subject_categories.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/python_moonclient/tests/unit_python/conf/conf_subject_categories.py b/python_moonclient/tests/unit_python/conf/conf_subject_categories.py deleted file mode 100644 index e59a458a..00000000 --- a/python_moonclient/tests/unit_python/conf/conf_subject_categories.py +++ /dev/null @@ -1,30 +0,0 @@ - -SUBJECT_CATEGORIES = { - "subject_categories": { - "1": { - "name": "subject_cat_1", - "description": "description of the category" - } - } -} - -POST_SUBJECT_CATEGORIES = { - "subject_categories": { - "1": { - "name": "subject_cat_1", - "description": "description of the category" - } - } -} - -def conf_subject_categories(m): - m.register_uri( - 'GET', 'http://manager:30001/subject_categories', - headers={'X-Subject-Token': "111111111"}, - json=SUBJECT_CATEGORIES - ) - m.register_uri( - 'POST', 'http://manager:30001/subject_categories', - headers={'X-Subject-Token': "111111111"}, - json=POST_SUBJECT_CATEGORIES - ) |