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