Coverage for conftest : 64%

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
# -*- coding: utf-8 -*-
def mock_hipchat(): """Mock for HipChat room notification API""" httpretty.POST, re.compile('https://api.hipchat.com/v2/room/(\d+)/notification'), status=200, )
def mock_test(): """test""" httpretty.enable() httpretty.register_uri( httpretty.GET, re.compile('https://api.hipchat.com/v2/room/test'), status=200, ) httpretty.register_uri( httpretty.POST, re.compile('https://api.hipchat.com/v2/room/(\d+)/notification'), status=200, ) yield httpretty httpretty.disable() |