test: rename interactive mark to oauth

This commit is contained in:
Chris Coutinho
2025-10-13 18:07:53 +02:00
parent 0c5d9a46bd
commit 879cd58db1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ log_cli_level = "INFO"
log_level = "INFO"
markers = [
"integration: marks tests as slow (deselect with '-m \"not slow\"')",
"interactive: marks tests as interactive (deselect with '-m \"not interactive\"')"
"oauth: marks tests as oauth (deselect with '-m \"not oauth\"')"
]
[tool.commitizen]
+2 -2
View File
@@ -8,7 +8,7 @@ from nextcloud_mcp_server.client import NextcloudClient
logger = logging.getLogger(__name__)
pytestmark = pytest.mark.integration
pytestmark = [pytest.mark.integration, pytest.mark.oauth]
class TestOAuthClient:
@@ -26,7 +26,7 @@ class TestOAuthClient:
async def test_oauth_client_notes_list(self, nc_oauth_client: NextcloudClient):
"""Test that OAuth client can list notes."""
notes = await nc_oauth_client.notes.get_notes()
notes = await nc_oauth_client.notes.get_all_notes()
assert isinstance(notes, list)
logger.info(f"OAuth client successfully listed {len(notes)} notes")
+1 -1
View File
@@ -6,7 +6,7 @@ import pytest
logger = logging.getLogger(__name__)
pytestmark = [pytest.mark.integration, pytest.mark.interactive]
pytestmark = [pytest.mark.integration, pytest.mark.oauth]
class TestOAuthInteractive: