Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Jan 20, 2024
1 parent 1e5967e commit 73a2c49
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-


from aws_resource_search.tests.fake_aws.api import FakeAws


class TestARS(FakeAws):
class TestApi(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ars_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from aws_resource_search.tests.fake_aws.api import FakeAws


class TestARS(FakeAws):
class TestARSDef(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down
4 changes: 1 addition & 3 deletions tests/test_ars_init.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# -*- coding: utf-8 -*-

import pytest
from rich import print as rprint

from aws_resource_search.searcher_enum import SearcherEnum
from aws_resource_search.logger import logger
from aws_resource_search.tests.fake_aws.api import FakeAws, guid, envs, rand_env


# @pytest.mark.skip()
class TestARS(FakeAws):
class TestARSInit(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_handlers_search_resource_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from aws_resource_search.tests.fake_aws.main import FakeAws


class Test(FakeAws):
class TestSearchResourceHandler(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_handlers_search_resource_type_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aws_resource_search.tests.fake_aws.main import FakeAws


class Test(FakeAws):
class TestSearchResourceTypeHandler(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_handlers_show_aws_info_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from aws_resource_search.tests.fake_aws.main import FakeAws


class Test(FakeAws):
class TestShowAwsInfoHandler(FakeAws):
@classmethod
def setup_class_post_hook(cls):
cls.setup_ars()
Expand Down

0 comments on commit 73a2c49

Please sign in to comment.