StackOverflow Questions for Tag: pytest-django

Damian Sowiński
Damian Sowiński

Reputation: 164

pytest_django model class attribute not filled for __init_subclass__

Score: 1

Views: 43

Answers: 1

Read More
Webucator
Webucator

Reputation: 2693

Testing delete_selected action in Django Admin with pytest

Score: 2

Views: 1539

Answers: 2

Read More
Scott Skiles
Scott Skiles

Reputation: 3857

Django connections object does not see the tables of a second database during testing with pytest-django

Score: 9

Views: 2333

Answers: 3

Read More
DmitrySemenov
DmitrySemenov

Reputation: 10355

pytest and Failed: Database access not allowed, use the "django_db" mark, or the "db" or "transactional_db" fixtures to enable it

Score: 38

Views: 31865

Answers: 5

Read More
Del_Wiz
Del_Wiz

Reputation: 19

Pytest fails with "ValueError: Missing staticfiles manifest entry for 'assets/img/favicon.ico' " while STATICFILES_STORAGE is set to default in tests

Score: 1

Views: 60

Answers: 1

Read More
Lord Elrond
Lord Elrond

Reputation: 16052

How to use pytest fixtures with Django TestCase?

Score: 19

Views: 8907

Answers: 4

Read More
Will
Will

Reputation: 1

Django Pytests in docker container not using temp sqlite3 database

Score: 0

Views: 89

Answers: 1

Read More
mionnaise
mionnaise

Reputation: 307

VS Code Testing - creating testing profiles to run different options

Score: 0

Views: 59

Answers: 0

Read More
Jason Grace
Jason Grace

Reputation: 344

pytest-django: Model class sites.models.Site doesn't declare an explicit app_label

Score: 0

Views: 32

Answers: 1

Read More
SaintK
SaintK

Reputation: 17

Django Test Environment Runs Twice and Fails When Using if not IS_PRODUCTION and INJECT_FAKE_DATA

Score: 0

Views: 24

Answers: 0

Read More
iMitwe
iMitwe

Reputation: 1257

In pytest set up databases mirroring and test

Score: 0

Views: 25

Answers: 0

Read More
Sukhinderpal Mann
Sukhinderpal Mann

Reputation: 884

How to call pytest-django from python manage.py test?

Score: 6

Views: 2808

Answers: 1

Read More
AssertionError
AssertionError

Reputation: 346

Test fails when executing in order

Score: 0

Views: 28

Answers: 1

Read More
Ben
Ben

Reputation: 11481

VS Code not finding pytest tests

Score: 37

Views: 88697

Answers: 15

Read More
Artem Bulatov
Artem Bulatov

Reputation: 133

How to have pytest-django commit data to database instead of in a transaction?

Score: 1

Views: 1922

Answers: 2

Read More
Hibbert
Hibbert

Reputation: 48

VSCode not discovering pytests for Django Project

Score: 1

Views: 67

Answers: 1

Read More
Quba
Quba

Reputation: 5316

Why is DEBUG=False when running Pytest, even though I set it to True in my Django settings?

Score: 16

Views: 9143

Answers: 3

Read More
ddddar
ddddar

Reputation: 181

pytest threaded HTTP server fixture cannot access to testcase's transaction DB data

Score: 0

Views: 19

Answers: 0

Read More
Stefano Munarini
Stefano Munarini

Reputation: 2717

Neon branching with Django pytest

Score: 0

Views: 33

Answers: 0

Read More
zerohedge
zerohedge

Reputation: 3765

pytest ScopeMismatch error: how to use fixtures properly

Score: 40

Views: 35626

Answers: 2

Read More
PreviousPage 1Next