def test_duplicate(self):
        foo = {u"id": u"foo", u"foo_value": True}
        bar = {u"id": u"bar", u"bar_value": False}
        path = FilePath(self.mktemp())
        path.setContent(safe_dump([foo, foo, bar]))
        self.assertRaises(Exception, _loadExamples, path)
Splits a network name from it's security type.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/docs/test/test_publicapi.py/LoadExamplesTests.test_duplicate--crossover with--dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/wifi_network_order.py/SplitNetworkNameSecurity