Remove 'test_' prefix for all file names.

It's redundant.
This commit is contained in:
2021-08-11 19:21:28 +02:00
committed by Val Lorentz
parent fe977cf361
commit 9b02222c4c
38 changed files with 8 additions and 7 deletions

View File

@ -112,8 +112,8 @@ SOPEL_SELECTORS := \
$(EXTRA_SELECTORS) $(EXTRA_SELECTORS)
# testNoticeNonexistentChannel fails: https://bugs.unrealircd.org/view.php?id=5949 # testNoticeNonexistentChannel fails: https://bugs.unrealircd.org/view.php?id=5949
# test_regressions::testTagCap fails: https://bugs.unrealircd.org/view.php?id=5948 # regressions::testTagCap fails: https://bugs.unrealircd.org/view.php?id=5948
# test_messages::testLineTooLong fails: https://bugs.unrealircd.org/view.php?id=5947 # messages::testLineTooLong fails: https://bugs.unrealircd.org/view.php?id=5947
# testCapRemovalByClient and testNakWhole fail pending https://github.com/unrealircd/unrealircd/pull/148 # testCapRemovalByClient and testNakWhole fail pending https://github.com/unrealircd/unrealircd/pull/148
# Tests marked with arbitrary_client_tags can't pass because Unreal whitelists which tags it relays # Tests marked with arbitrary_client_tags can't pass because Unreal whitelists which tags it relays
# Tests marked with react_tag can't pass because Unreal blocks +draft/react https://github.com/unrealircd/unrealircd/pull/149 # Tests marked with react_tag can't pass because Unreal blocks +draft/react https://github.com/unrealircd/unrealircd/pull/149
@ -125,10 +125,10 @@ UNREALIRCD_SELECTORS := \
and not deprecated \ and not deprecated \
and not strict \ and not strict \
and not testNoticeNonexistentChannel \ and not testNoticeNonexistentChannel \
and not (test_regressions and testTagCap) \ and not (regressions.py and testTagCap) \
and not (test_messages and testLineTooLong) \ and not (messages.py and testLineTooLong) \
and not (test_cap and (testCapRemovalByClient or testNakWhole)) \ and not (cap.py and (testCapRemovalByClient or testNakWhole)) \
and not (test_account_tag and testInvite) \ and not (account_tag.py and testInvite) \
and not arbitrary_client_tags \ and not arbitrary_client_tags \
and not react_tag \ and not react_tag \
and not private_chathistory \ and not private_chathistory \

View File

@ -1,7 +1,7 @@
from irctest import cases from irctest import cases
from irctest.irc_utils.junkdrawer import random_name from irctest.irc_utils.junkdrawer import random_name
from irctest.patma import ANYSTR from irctest.patma import ANYSTR
from irctest.server_tests.test_chathistory import CHATHISTORY_CAP, EVENT_PLAYBACK_CAP from irctest.server_tests.chathistory import CHATHISTORY_CAP, EVENT_PLAYBACK_CAP
RELAYMSG_CAP = "draft/relaymsg" RELAYMSG_CAP = "draft/relaymsg"
RELAYMSG_TAG_NAME = "draft/relaymsg" RELAYMSG_TAG_NAME = "draft/relaymsg"

View File

@ -1,4 +1,5 @@
[pytest] [pytest]
python_files = *_tests/*.py
markers = markers =
# specifications # specifications
RFC1459 RFC1459