diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml index 88e098c..07f1660 100644 --- a/.github/workflows/nightly-tests.yml +++ b/.github/workflows/nightly-tests.yml @@ -15,7 +15,7 @@ jobs: services: postgres: - image: postgres:12.7 + image: postgres:15 env: POSTGRES_PASSWORD: postgres ports: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ceb513..100bafc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,6 +65,7 @@ jobs: name: coverage-data path: .coverage.* if-no-files-found: ignore + include-hidden-files: true retention-days: 1 coverage: diff --git a/tests/test_blocks.py b/tests/test_blocks.py index 428a33d..02fc507 100644 --- a/tests/test_blocks.py +++ b/tests/test_blocks.py @@ -51,19 +51,19 @@ def test_media_block_get_form_state(self): def test_abstract_media_block_queryset(self): block = AbstractMediaChooserBlock() - self.assertQuerysetEqual( + self.assertQuerySetEqual( block.field.queryset.order_by("pk"), Media.objects.order_by("pk"), ) block = AbstractMediaChooserBlock(media_type="audio") - self.assertQuerysetEqual( + self.assertQuerySetEqual( block.field.queryset.order_by("pk"), Media.objects.filter(type="audio").order_by("pk"), ) block = AbstractMediaChooserBlock(media_type="subspace-transmission") - self.assertQuerysetEqual(block.field.queryset, Media.objects.none()) + self.assertQuerySetEqual(block.field.queryset, Media.objects.none()) def test_audio_chooser_block_type(self): block = AudioChooserBlock()