File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from stompest .protocol import StompSpec
1515from stompest .sync import Stomp
1616
17+
1718LOGGER = logging .getLogger (__name__ )
1819
1920
Original file line number Diff line number Diff line change 33
44import pytz
55from fedora_messaging .api import publish
6- from fedora_messaging .exceptions import PublishReturned , ConnectionException
6+ from fedora_messaging .exceptions import ConnectionException , PublishReturned
77from fedora_messaging .message import INFO
88
99from bugzilla2fedmsg_schema .schema import MessageV1 , MessageV1BZ4
Original file line number Diff line number Diff line change 44
55from fedora_messaging import message
66from fedora_messaging .schema_utils import libravatar_url
7+
78from .utils import comma_join , email_to_fas
89
910
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- from setuptools import setup , find_packages
3+ from setuptools import find_packages , setup
44
55
66setup (
Original file line number Diff line number Diff line change 11import pytest
2- from bugzilla2fedmsg .consumer import BugzillaConsumer
32from stompest .error import StompConnectionError , StompProtocolError
43from stompest .protocol import StompSpec
54from stompest .protocol .frame import StompFrame
65
6+ from bugzilla2fedmsg .consumer import BugzillaConsumer
7+
78
89@pytest .fixture
910def consumer_config ():
Original file line number Diff line number Diff line change 77
88from unittest import mock
99
10- import bugzilla2fedmsg .relay
1110import fedora_messaging .exceptions
1211
12+ import bugzilla2fedmsg .relay
13+
1314
1415class TestRelay (object ):
1516 relay = bugzilla2fedmsg .relay .MessageRelay (
Original file line number Diff line number Diff line change 77
88from unittest import mock
99
10- import bugzilla2fedmsg .relay
1110import pytest
1211from jsonschema .exceptions import ValidationError
1312
13+ import bugzilla2fedmsg .relay
14+
1415
1516class TestSchemas (object ):
1617 # We are basically going to use the relays to construct messages
You can’t perform that action at this time.
0 commit comments