From de266a477698ec02538dabfffb8053e327ac2924 Mon Sep 17 00:00:00 2001 From: Jack Bott Date: Wed, 11 Aug 2021 16:46:10 -0400 Subject: [PATCH] identifying descriptor added to tests --- .github/workflows/minigrid-tests.yml | 4 ++++ tests/python/test_handlers.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/minigrid-tests.yml b/.github/workflows/minigrid-tests.yml index fa6bfd7..440ba65 100644 --- a/.github/workflows/minigrid-tests.yml +++ b/.github/workflows/minigrid-tests.yml @@ -38,6 +38,10 @@ jobs: pip install -r dev/requirements.txt pip install -r requirements.txt pip install coveralls + - name: Set up Node 14 + uses: actions/setup-node@v2 + with: + node-version: '14' - name: Install node dependencies run: | npm install diff --git a/tests/python/test_handlers.py b/tests/python/test_handlers.py index cc59e41..f8d8508 100644 --- a/tests/python/test_handlers.py +++ b/tests/python/test_handlers.py @@ -1145,7 +1145,7 @@ def test_verify_value_error(self, get_verified_email): ) self.assertResponseCode(response, 400) self.assertEqual( - response.error.message, 'error') + response.error.message, 'ValueError: error') @patch('minigrid.handlers.get_verified_email', new_callable=CoroMock) def test_verify(self, get_verified_email):