Add test
This commit is contained in:
parent
0d0962319a
commit
e842dc78e0
@ -21,6 +21,17 @@ def test_reloadCollection(setup):
|
|||||||
ac.reloadCollection()
|
ac.reloadCollection()
|
||||||
|
|
||||||
|
|
||||||
|
def test_apiReflect(setup):
|
||||||
|
result = ac.apiReflect(
|
||||||
|
scopes=["actions", "invalidType"],
|
||||||
|
actions=["apiReflect", "invalidMethod"]
|
||||||
|
)
|
||||||
|
assert result == {
|
||||||
|
"scopes": ["actions"],
|
||||||
|
"actions": ["apiReflect"]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class TestProfiles:
|
class TestProfiles:
|
||||||
def test_getProfiles(self, session_with_profile_loaded):
|
def test_getProfiles(self, session_with_profile_loaded):
|
||||||
result = ac.getProfiles()
|
result = ac.getProfiles()
|
||||||
|
Loading…
Reference in New Issue
Block a user