aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/conftest.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-06-08 00:29:08 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-06-14 22:19:15 +0200
commit7a4a95baafc78682288acaa1b4622d87eed1db3e (patch)
tree54f90bfc95045d6ad1b9ab961bede47be4282c7e /_pytest/conftest.py
parent8ca00d735279e78e759e72c6dff4c17fa43405d5 (diff)
downloadwee-slack-7a4a95baafc78682288acaa1b4622d87eed1db3e.tar.gz
Assert color values in tests
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r--_pytest/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index b49388d..ad0949e 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -116,7 +116,7 @@ class FakeWeechat():
def config_string(self, key):
return ""
def color(self, name):
- return ""
+ return "<[color {}]>".format(name)
def __getattr__(self, name):
def method(*args):
pass