def test_defaultNamespace(self):
        """
        Published event should have a namespace of C{"log_legacy"} to indicate
        that it was forwarded from legacy logging.
        """
        publishToNewObserver(
            self.observer, self.legacyEvent(), legacyLog.textFromEventDict
        )
        self.assertEqual(self.events[0]["log_namespace"], "log_legacy")

        Published event should have a namespace of C{"log_legacy"} to indicate
        that it was forwarded from legacy logging.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/logger/test/test_legacy.py