def test_is_unique_for_date(self):
        data = {'slug': 'existing', 'published': '2000-01-02'}
        serializer = UniqueForDateSerializer(data=data)
        assert serializer.is_valid()
        assert serializer.validated_data == {
            'slug': 'existing',
            'published': datetime.date(2000, 1, 2)
        }
Test GetWifiInterface with no Wi-Fi interfaces.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_validators.py/TestUniquenessForDateValidation.test_is_unique_for_date--crossover with--dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/wifi_network_order_test.py/WifiNetworkOrderModuleTest.testGetWifiInterfaceNoInterfaces