diff --git a/setup.cfg b/setup.cfg index dbf50936..99dfc8c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,6 @@ setup_requires = APNS = apns2>=0.3.0 importlib-metadata;python_version < "3.8" - pywebpush>=1.3.0 Django>=2.2 WP = pywebpush>=1.3.0 diff --git a/tests/test_rest_framework.py b/tests/test_rest_framework.py index 87235fb8..53e751ee 100644 --- a/tests/test_rest_framework.py +++ b/tests/test_rest_framework.py @@ -55,7 +55,7 @@ def test_validation(self): # valid data - 200 bytes mixed case serializer = APNSDeviceSerializer(data={ - "registration_id": "aE" * 200, + "registration_id": "aE" * 100, "name": "Apple iPhone 6+", "device_id": "ffffffffffffffffffffffffffffffff", })