Skip to content

Commit

Permalink
fix test in python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Jan 14, 2021
1 parent 3628341 commit 7432444
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/shared/utils/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import pytest
from _pytest.recwarn import WarningsRecorder

import rasa.shared.core.domain
import rasa.shared.utils.common
from rasa.shared.core.domain import Domain, State


def test_all_subclasses():
Expand Down Expand Up @@ -178,8 +178,8 @@ def test_class_from_module_path_not_found(
@pytest.mark.parametrize(
"module_path, result, outcome",
[
("rasa.shared.core.domain.Domain", Domain, True),
("rasa.shared.core.domain.State", State, False),
("rasa.shared.core.domain.Domain", rasa.shared.core.domain.Domain, True),
("rasa.shared.core.domain.logger", rasa.shared.core.domain.logger, False),
],
)
def test_class_from_module_path_ensure_class(
Expand Down

0 comments on commit 7432444

Please sign in to comment.