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