mirror of https://github.com/celery/kombu.git
Fix test_pidbox unittests to support non-linux platforms (#1398)
This commit is contained in:
parent
88ca371bcf
commit
0253cfb7b2
|
@ -341,7 +341,7 @@ class test_Mailbox:
|
|||
return m.payload
|
||||
|
||||
|
||||
GLOBAL_PIDBOX = None
|
||||
GLOBAL_PIDBOX = pidbox.Mailbox('global_unittest_mailbox')
|
||||
|
||||
|
||||
def getoid():
|
||||
|
@ -351,10 +351,6 @@ def getoid():
|
|||
class test_PidboxOid:
|
||||
"""Unittests checking oid consistency of Pidbox"""
|
||||
|
||||
def setup(self):
|
||||
global GLOBAL_PIDBOX
|
||||
GLOBAL_PIDBOX = pidbox.Mailbox('unittest_mailbox')
|
||||
|
||||
def test_oid_consistency(self):
|
||||
"""Tests that oid is consistent in single process"""
|
||||
m1 = pidbox.Mailbox('mailbox1')
|
||||
|
|
Loading…
Reference in New Issue