def test_produce(self): sdc = FakeStorageDomainCache() sdc.domains["uuid"] = "fake domain" self.assertEqual("fake domain", sdc.produce("uuid"))