Skip to content
Merged
Prev Previous commit
Next Next commit
[LIB-660] correct setup test
  • Loading branch information
opalczynski committed Apr 21, 2016
commit 93a7e5f0706ed9edeceb9625e659646de8de6148
6 changes: 4 additions & 2 deletions tests/integration_test_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ def setUpClass(cls):
super(PushIntegrationTest, cls).setUpClass()

cls.gcm_config = GCMConfig(
development_api_key=uuid.uuid4().hex
development_api_key=uuid.uuid4().hex,
instance_name=cls.instance.name
)
cls.gcm_config.save()

with open('certificates/ApplePushDevelopment.pk12', 'r') as cert:
cls.apns_config = APNSConfig(
development_certificate=cert,
development_certificate_name='test',
development_bundle_identifier='test1234'
development_bundle_identifier='test1234',
instance_name=cls.instance.name
)
cls.apns_config.save()

Expand Down