Skip to content

Commit c8d17e2

Browse files
authored
test: write tests for ArrayField widget
1 parent 3d70563 commit c8d17e2

17 files changed

+775
-17
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: python -m playwright install --with-deps
6060

6161
- name: Run Tests
62-
run: python manage.py test --tag playwright
62+
run: python manage.py test
6363
env:
6464
DATABASE_USE_POSTGRES: 1
6565
POSTGRES_PORT: 5432

image_uploader_widget/postgres/forms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ def clean(self, value):
2828
cleaned_data = []
2929
errors = []
3030

31-
print(value)
32-
3331
max_size = len(value)
3432
for index in range(max_size):
3533
item = value[index]

tests/test_case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def __enter__(self):
4040
def __exit__(self, exc_type, exc_value, tb):
4141
self.test_case.page.emulate_media(color_scheme='light')
4242

43-
@tag('playwright')
4443
class IUWTestCase(StaticLiveServerTestCase):
4544
model = None
4645
pixel_threshold_red = 5

tests/tests_functional/array_field/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)