From 4e11bf8033163e080276ade01fbd6910657aeb69 Mon Sep 17 00:00:00 2001 From: Luca Sbardella Date: Sun, 2 Aug 2020 17:44:41 +0100 Subject: [PATCH] New test and new version --- metablock/__init__.py | 2 +- tests/test_spaces.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 tests/test_spaces.py diff --git a/metablock/__init__.py b/metablock/__init__.py index d2fe42a..25629e4 100644 --- a/metablock/__init__.py +++ b/metablock/__init__.py @@ -4,7 +4,7 @@ from .spaces import Extension, Service, Space, SpaceExtension from .user import User -__version__ = "0.1.1" +__version__ = "0.1.2" __all__ = [ "Metablock", "MetablockError", diff --git a/tests/test_spaces.py b/tests/test_spaces.py new file mode 100644 index 0000000..de941c3 --- /dev/null +++ b/tests/test_spaces.py @@ -0,0 +1,6 @@ +from metablock import Metablock + + +async def test_list_spaces(cli: Metablock): + spaces = await cli.spaces.get_list() + assert spaces