'Tests that the menu clears all keys, including duplicates.'

def test_menu_keys_duplicate_clear(self):

    CacheKey.objects.create(language='fr', site=1, key='a')
    CacheKey.objects.create(language='fr', site=1, key='a')
    self.assertEqual(CacheKey.objects.count(), 2)
    menu_pool.clear(site_id=1, language='fr')
    self.assertEqual(CacheKey.objects.count(), 0)
