From e842dc78e02b6518a8fa29da77ebbf26a1672b95 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 20 May 2022 17:19:29 -0400 Subject: [PATCH] Add test --- tests/test_misc.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/test_misc.py b/tests/test_misc.py index 16c8e5a..301b6c5 100755 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -21,6 +21,17 @@ def test_reloadCollection(setup): ac.reloadCollection() +def test_apiReflect(setup): + result = ac.apiReflect( + scopes=["actions", "invalidType"], + actions=["apiReflect", "invalidMethod"] + ) + assert result == { + "scopes": ["actions"], + "actions": ["apiReflect"] + } + + class TestProfiles: def test_getProfiles(self, session_with_profile_loaded): result = ac.getProfiles()