Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- coding: utf-8 -*-
from hipnotify import Room
def test_debug_room_notification(mock_hipchat):
"""Test for debug mode"""
r = Room('test_token', '1234', debug=True)
res = r.notify('test')
assert res == []
def test_room_notification(mock_hipchat):
"""Test with HipChat API mock"""
r = Room('test_token', '1234')
assert res.status_code == 200