aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_topic_command.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_topic_command.py')
-rw-r--r--_pytest/test_topic_command.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/_pytest/test_topic_command.py b/_pytest/test_topic_command.py
index 2137c27..5224ab7 100644
--- a/_pytest/test_topic_command.py
+++ b/_pytest/test_topic_command.py
@@ -29,7 +29,7 @@ def test_parse_topic_with_delete():
def test_parse_topic_with_channel():
channel_name, topic = parse_topic_command('/topic #general')
- assert channel_name == 'general'
+ assert channel_name == '#general'
assert topic is None
@@ -37,14 +37,14 @@ def test_parse_topic_with_channel_and_text():
channel_name, topic = parse_topic_command(
'/topic #general some topic text')
- assert channel_name == 'general'
+ assert channel_name == '#general'
assert topic == 'some topic text'
def test_parse_topic_with_channel_and_delete():
channel_name, topic = parse_topic_command('/topic #general -delete')
- assert channel_name == 'general'
+ assert channel_name == '#general'
assert topic == ''