diff --git a/castle/context/get_default.py b/castle/context/get_default.py index cadc61a..12b3266 100644 --- a/castle/context/get_default.py +++ b/castle/context/get_default.py @@ -16,7 +16,6 @@ def call(self): context = dict({ 'client_id': self._client_id(), 'active': True, - 'origin': 'web', 'headers': self._headers(), 'ip': self._ip(), 'library': { diff --git a/castle/test/client_test.py b/castle/test/client_test.py index 2fea731..a12a7d8 100644 --- a/castle/test/client_test.py +++ b/castle/test/client_test.py @@ -42,7 +42,6 @@ def test_init(self): }, 'ip': '217.144.192.112', 'library': {'name': 'castle-python', 'version': VERSION}, - 'origin': 'web', 'user_agent': 'test' } client = Client.from_request(request(), {}) @@ -204,7 +203,6 @@ def test_to_context(self): }, 'ip': '217.144.192.112', 'library': {'name': 'castle-python', 'version': VERSION}, - 'origin': 'web', 'user_agent': 'test' } result_context = Client.to_context(request(), {}) diff --git a/castle/test/context/get_default_test.py b/castle/test/context/get_default_test.py index 8af2c56..fcb33f8 100644 --- a/castle/test/context/get_default_test.py +++ b/castle/test/context/get_default_test.py @@ -39,7 +39,6 @@ def test_default_context(self): request(environ()), cookies()).call() self.assertEqual(context['client_id'], client_id()) self.assertEqual(context['active'], True) - self.assertEqual(context['origin'], 'web') self.assertEqual( context['headers'], {