We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64c7d80 commit 3ad1f69Copy full SHA for 3ad1f69
1 file changed
tests/integration/test_charmhub.py
@@ -97,3 +97,11 @@ async def test_subordinate_charm_zero_units(event_loop):
97
app2 = await model.deploy('rsyslog-forwarder-ha', num_units=1)
98
await jasyncio.sleep(5)
99
assert len(app2.units) == 0
100
+
101
102
+@base.bootstrapped
103
+@pytest.mark.asyncio
104
+async def test_list_resources(event_loop):
105
+ async with base.CleanModel() as model:
106
+ resources = await model.charmhub.list_resources('postgresql')
107
+ assert type(resources) == list and len(resources) > 0
0 commit comments