def test_expected_metadata(self):
        item = {
            'foo': 'bar',
            'baz': [1, 2, 3]
        }
        signed_item = get_signed_item(item, PUBLIC_KEY, PRIVATE_KEY)
        self.assertIn('_p4p2p', signed_item)
        metadata = signed_item['_p4p2p']
        self.assertIn('timestamp', metadata)
        self.assertIsInstance(metadata['timestamp'], float)
        self.assertIn('expires', metadata)
        self.assertIsInstance(metadata['expires'], float)
        self.assertIn('version', metadata)
        self.assertIsInstance(metadata['version'], str)
        self.assertIn('public_key', metadata)
        self.assertIsInstance(metadata['public_key'], str)
        self.assertIn('signature', metadata)
        self.assertIsInstance(metadata['signature'], str)
        self.assertEqual(5, len(metadata))
A function which accepts a variable number of args and keywords.
dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py/TestGetSignedItem.test_expected_metadata--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/test/test_explorer.py/function_variable