mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
Allow logger to be None in Python unit tests.
This commit is contained in:
parent
baddfc066b
commit
f4ec25eb91
1 changed files with 2 additions and 1 deletions
|
|
@ -392,7 +392,8 @@ class CoreManager:
|
|||
else:
|
||||
proxy_count = 0
|
||||
if proxy_count:
|
||||
self.logger.warning(self)
|
||||
if self.logger is not None:
|
||||
self.logger.warning(self)
|
||||
CoreManager.wait_for_until(self, None, lambda manager: manager.stats.number_of_LinphoneRegistrationOk == proxy_count, 5000 * proxy_count)
|
||||
assert_equals(self.stats.number_of_LinphoneRegistrationOk, proxy_count)
|
||||
self.enable_audio_codec("PCMU", 8000)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue