============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) asyncio: mode=strict collecting ... collected 7 items ::project PASSED test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord PASSED test_pybonjour.py::TestPyBonjour::test_construct_fullname PASSED test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord PASSED test_pybonjour.py::TestPyBonjour::test_enumerate_domains SKIPPED (sk...) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve PASSED test_pybonjour.py::TestPyBonjour::test_txtrecord PASSED =============================== warnings summary =============================== test_pybonjour.py: 10 warnings $(@D)/test_pybonjour.py:66: DeprecationWarning: Please use assertTrue instead. self.assert_(sdRef in ready[0], 'operation timed out') test_pybonjour.py::TestPyBonjour::test_register_browse_resolve test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:95: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(name, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:97: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(regtype, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:99: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(domain, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:121: DeprecationWarning: Please use assertTrue instead. self.assert_(flags & kDNSServiceFlagsAdd) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:122: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(serviceName, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:124: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(regtype, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:126: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(replyDomain, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:132: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(fullname, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:134: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(hosttarget, unicode)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:136: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(txtRecord, str)) test_pybonjour.py::TestPyBonjour::test_register_browse_resolve $(@D)/test_pybonjour.py:139: DeprecationWarning: Please use assertTrue instead. self.assert_(len(txtRecord) > 0) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:279: DeprecationWarning: Please use assertTrue instead. self.assert_(not txt) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:288: DeprecationWarning: Please use assertTrue instead. self.assert_(txt['none'] is None) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:292: DeprecationWarning: Please use assertTrue instead. self.assert_(txt) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:299: DeprecationWarning: Please use assertTrue instead. self.assert_('foo' in txt) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:301: DeprecationWarning: Please use assertTrue instead. self.assert_('foo' not in txt) test_pybonjour.py::TestPyBonjour::test_txtrecord $(@D)/test_pybonjour.py:314: DeprecationWarning: Please use assertTrue instead. self.assert_(txt['DNS-SD Is Cool'] is None) test_pybonjour.py::TestPyBonjour::test_construct_fullname $(@D)/test_pybonjour.py:58: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(fullname, unicode)) test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord $(@D)/test_pybonjour.py:239: DeprecationWarning: Please use assertTrue instead. self.assert_(RecordRef.value is not None) test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:178: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(fullname, unicode)) test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:182: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(_rdata, str)) test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord $(@D)/test_pybonjour.py:251: DeprecationWarning: Please use assertTrue instead. self.assert_(RecordRef.value is None) test_pybonjour.py::TestPyBonjour::test_createconnection_registerrecord_reconfirmrecord $(@D)/test_pybonjour.py:263: DeprecationWarning: Please use assertTrue instead. self.assert_(RecordRef.value is not None) test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:204: DeprecationWarning: Please use assertTrue instead. self.assert_(RecordRef.value is not None) test_pybonjour.py::TestPyBonjour::test_addrecord_updaterecord_removerecord $(@D)/test_pybonjour.py:218: DeprecationWarning: Please use assertTrue instead. self.assert_(RecordRef.value is None) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======== 6 passed, 1 skipped, 46 warnings ========