import unittest
from utils import publish_message


class PublishMessageIntegrationTests(unittest.TestCase):
    def test_tests(self):
        self.assertTrue(True)


if __name__ == '__main__':
    suite = unittest.defaultTestLoader.loadTestsFromTestCase(PublishMessageIntegrationTests)
    unittest.TextTestRunner(verbosity=2).run(suite)

@@ -110,57 +110,824 @@
     
-def test_tests(self):%0A        self.assertTrue(Tru
+@classmethod%0A    def setUpClass(cls):%0A        message = 'test_message'%0A        exchange = 'test_exchange'%0A        type = 'direct'%0A        routing_key = 'test_routing_key'%0A        publish_message(message, exchange, type, routing_key)%0A%0A    def test_tests(self):%0A        self.assertTrue(True)%0A%0A    def test_declared_exchange_is_durable(self):%0A        self.assertTrue(False)%0A%0A    def test_declared_exchange_does_not_auto_delete(self):%0A        self.assertTrue(False)%0A%0A    def test_message_is_published(self):%0A        self.assertTrue(False)%0A%0A    def test_message_is_published_to_correct_exchange(self):%0A        self.assertTrue(False)%0A%0A    def test_message_is_published_with_correct_routing_key(self):%0A        self.assertTrue(False)%0A%0A    def test_connection_closes_if_exception_is_raised(self):%0A        self.assertTrue(Fals
 e)%0A%0A

Add failing tests