|
11 | 11 | import pandas as pd
|
12 | 12 | import pyarrow as pa
|
13 | 13 | import pyarrow.parquet as pq
|
| 14 | +import pytest |
14 | 15 | import yaml
|
| 16 | +from _pytest.mark import MarkDecorator |
15 | 17 | from minio import Minio
|
16 | 18 | from testcontainers.core.generic import DockerContainer
|
17 | 19 | from testcontainers.core.waiting_utils import wait_for_logs
|
@@ -372,6 +374,10 @@ def __init__(self, project_name: str, *args, **kwargs):
|
372 | 374 | self.server_port: int = 0
|
373 | 375 | self.proc: Optional[Popen[bytes]] = None
|
374 | 376 |
|
| 377 | + @staticmethod |
| 378 | + def test_markers() -> list[MarkDecorator]: |
| 379 | + return [pytest.mark.rbac_remote_integration_test] |
| 380 | + |
375 | 381 | def setup(self, registry: RegistryConfig):
|
376 | 382 | parent_offline_config = super().create_offline_store_config()
|
377 | 383 | config = RepoConfig(
|
@@ -418,6 +424,10 @@ def __init__(self, project_name: str, *args, **kwargs):
|
418 | 424 | self.server_port: int = 0
|
419 | 425 | self.proc: Optional[Popen[bytes]] = None
|
420 | 426 |
|
| 427 | + @staticmethod |
| 428 | + def test_markers() -> list[MarkDecorator]: |
| 429 | + return [pytest.mark.rbac_remote_integration_test] |
| 430 | + |
421 | 431 | def setup(self, registry: RegistryConfig):
|
422 | 432 | parent_offline_config = super().create_offline_store_config()
|
423 | 433 | config = RepoConfig(
|
@@ -515,6 +525,10 @@ def __init__(self, project_name: str, *args, **kwargs):
|
515 | 525 | def xdist_groups() -> list[str]:
|
516 | 526 | return ["keycloak"]
|
517 | 527 |
|
| 528 | + @staticmethod |
| 529 | + def test_markers() -> list[MarkDecorator]: |
| 530 | + return [pytest.mark.rbac_remote_integration_test] |
| 531 | + |
518 | 532 | def setup(self, registry: RegistryConfig):
|
519 | 533 | parent_offline_config = super().create_offline_store_config()
|
520 | 534 | config = RepoConfig(
|
|
0 commit comments