1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-11-06 10:08:16 +00:00

Add plugin method to client

Closes #28
This commit is contained in:
J. Fernando Sánchez
2017-04-07 18:20:38 +02:00
parent 14c86ec38c
commit e0b4c76238
5 changed files with 68 additions and 32 deletions

View File

@@ -170,7 +170,7 @@ class ModelsTest(TestCase):
def test_single_plugin(self):
"""A response with a single plugin should still return a list"""
plugs = Plugins()
p = Plugin({'id': str(0),
p = Plugin({'id': str(1),
'version': 0,
'description': 'dummy'})
plugs.plugins.append(p)