Skip to content

Instantly share code, notes, and snippets.

@jerith
Created November 18, 2015 09:51
Show Gist options
  • Select an option

  • Save jerith/81ce11ab6e421572095c to your computer and use it in GitHub Desktop.

Select an option

Save jerith/81ce11ab6e421572095c to your computer and use it in GitHub Desktop.
diff --git a/go/vumitools/tests/helpers.py b/go/vumitools/tests/helpers.py
index 595de65..3a30dd8 100644
--- a/go/vumitools/tests/helpers.py
+++ b/go/vumitools/tests/helpers.py
@@ -357,7 +357,7 @@ class VumiApiHelper(object):
import go.base.utils
# We might need an AMQP connection at some point.
broker = self.get_worker_helper().broker
- broker.exchange_declare('vumi', 'direct')
+ broker.exchange_declare('vumi', 'direct', durable=True)
self.django_amqp_connection = FakeAmqpConnection(broker)
self.monkey_patch(
go.base.utils, 'connection', self.django_amqp_connection)
@hodgestar
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment