Skip to content

Commit

Permalink
update test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacata committed Nov 27, 2024
1 parent 5bdfa54 commit f31b62b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions tests/test_noauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
from actinia_core.core.common.config import global_config
from actinia_core.core.common import redis_interface
from actinia_core.core.common.process_queue import create_process_queue
from actinia_core.testsuite import (
ActiniaRequests,
ActiniaTestCaseBase,
URL_PREFIX,
)
from actinia_core.testsuite import ActiniaRequests
try:
from .test_resource_base import ActiniaResourceTestCaseBase, URL_PREFIX
except Exception:
from test_resource_base import ActiniaResourceTestCaseBase, URL_PREFIX

__license__ = "GPLv3"
__author__ = "Anika Weinmann"
Expand Down Expand Up @@ -92,7 +92,7 @@
}


class ActiniaWithoutAuthentication(ActiniaTestCaseBase):
class ActiniaWithoutAuthentication(ActiniaResourceTestCaseBase):
"""Test base class to test actinia without autentication"""

server_test = False
Expand Down
3 changes: 2 additions & 1 deletion tests/test_resource_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import os
import signal
import time
from actinia_core.testsuite import ActiniaTestCaseBase
from actinia_core.testsuite import ActiniaTestCaseBase, URL_PREFIX
from actinia_core.core.common.config import global_config
from actinia_core.endpoints import create_endpoints

Expand Down Expand Up @@ -103,6 +103,7 @@ def stop_redis():
# Setup the environment
setup_environment()

URL_PREFIX = URL_PREFIX

class ActiniaResourceTestCaseBase(ActiniaTestCaseBase):
pass

0 comments on commit f31b62b

Please sign in to comment.