fix: complete the removal of ietf.__init__.date. (#3771)

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Robert Sparks 2022-03-30 16:43:51 -05:00 committed by GitHub
parent cb4a288ab6
commit 8373914678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View file

@ -123,8 +123,7 @@ process should be used:
out why.
6. Edit ``.../ietf/__init__.py`` in the new patched release to indicate the patch
version in the ``__patch__`` string and current date and time in the ``__date__``
string.
version in the ``__patch__`` string.
7. Change the 'web' symlink, reload etc. as described in
`General Instructions for Deployment of a New Release`_ .

View file

@ -354,7 +354,6 @@ class CustomApiTests(TestCase):
r = self.client.get(url)
data = r.json()
self.assertEqual(data['version'], ietf.__version__+ietf.__patch__)
self.assertIn(data['date'], ietf.__date__)
def test_api_appauth(self):
url = urlreverse('ietf.api.views.app_auth')

View file

@ -209,7 +209,6 @@ def version(request):
return HttpResponse(
json.dumps({
'version': ietf.__version__+ietf.__patch__,
'date': ietf.__date__[7:-2],
'dumptime': dumptime,
}),
content_type='application/json',