Skip to content

Commit d97d338

Browse files
committed
Tagging v0.0.2
1 parent dd9aaa7 commit d97d338

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ requires = ["setuptools >= 40.9.0", "wheel"]
4040
build-backend = "setuptools.build_meta"
4141

4242
[project]
43-
name = "cactus_client"
43+
name = "cactus_client_notifications"
4444
dynamic = ["version", "readme"]
4545
description = "Schema and mini webserver for accepting CSIP-Aus subscription notifications via dynamic webhook URIs."
4646
dependencies = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.1"
1+
__version__ = "0.0.2"

tests/unit/server/test_endpoint_store.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test_generate_unique_id():
2626
assert len(ids) == len(set(ids)), "Should all be unique"
2727

2828

29-
@pytest.mark.asyncio
3029
async def test_EndpointStore_empty_operations():
3130
"""Sanity checks the basic operations of the EndpointStore work with an empty store"""
3231
store = EndpointStore(max_active_endpoints=3, max_endpoint_notifications=2)
@@ -45,7 +44,6 @@ async def test_EndpointStore_empty_operations():
4544
assert exc_match.value.status_code == HTTPStatus.NOT_FOUND
4645

4746

48-
@pytest.mark.asyncio
4947
async def test_EndpointStore_basic_operations():
5048
"""Sanity checks the basic operations of the EndpointStore"""
5149
store = EndpointStore(max_active_endpoints=4, max_endpoint_notifications=3)
@@ -107,7 +105,6 @@ async def test_EndpointStore_basic_operations():
107105
await store.add_notification(id3, n10)
108106

109107

110-
@pytest.mark.asyncio
111108
async def test_EndpointStore_cleanup():
112109
"""Tests that the cleanup operation correctly wipes out expired endpoints"""
113110
store = EndpointStore(max_active_endpoints=99, max_endpoint_notifications=99)
@@ -148,7 +145,6 @@ async def test_EndpointStore_cleanup():
148145
assert await store.try_delete_endpoint(future_time) is True, "Should've been left alone"
149146

150147

151-
@pytest.mark.asyncio
152148
async def test_EndpointStore_disabled_endpoint():
153149
"""Tests that the cleanup operation correctly wipes out expired endpoints"""
154150

0 commit comments

Comments
 (0)