aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/conftest.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2017-10-09 23:09:11 +0200
committerGitHub <noreply@github.com>2017-10-09 23:09:11 +0200
commit31c7e9acde467b8df8efc319fad1971d387b1361 (patch)
tree1f6788c1009cea8638b67e0b02d21bac96516f16 /_pytest/conftest.py
parent9f9e8384f418f4557c81e080205538372c35e018 (diff)
parentd1a2abb989f3e769be84e16ee782c6927119ba58 (diff)
downloadwee-slack-31c7e9acde467b8df8efc319fad1971d387b1361.tar.gz
Merge pull request #443 from trygveaa/fix/topic-command-refactor
fix: Make /topic behave the same way as on IRC
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r--_pytest/conftest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index 232814f..ca267fd 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -49,7 +49,9 @@ class FakeWeechat():
this is the thing that acts as "w." everywhere..
basically mock out all of the weechat calls here i guess
"""
- WEECHAT_RC_OK = True
+ WEECHAT_RC_ERROR = 0
+ WEECHAT_RC_OK = 1
+ WEECHAT_RC_OK_EAT = 2
def __init__(self):
pass