StackOverflow Questions for Tag: django-testing

cheetoriko
cheetoriko

Reputation: 53

Django Testing: Use main database as only one database available?

Score: 0

Views: 42

Answers: 0

Read More
tunarob
tunarob

Reputation: 3038

Django tests - patch object in all tests

Score: 50

Views: 34928

Answers: 4

Read More
Duf59
Duf59

Reputation: 532

Django Testing - loading data into the database before loading the apps

Score: 1

Views: 5391

Answers: 3

Read More
DmitrySemenov
DmitrySemenov

Reputation: 10305

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: 31563

Answers: 5

Read More
Francesca Fabozzi
Francesca Fabozzi

Reputation: 1

django.db.utils.ProgrammingError: (1146, "Table 'test_db.sensori' doesn't exist")

Score: 0

Views: 50

Answers: 1

Read More
Andre de Jesus
Andre de Jesus

Reputation: 1

Django LiveServerTestCase live server shuts down prematurely

Score: 0

Views: 15

Answers: 0

Read More
mnowotka
mnowotka

Reputation: 17218

Django: how to see the SQL query when running tests?

Score: 28

Views: 20733

Answers: 13

Read More
Brian Dant
Brian Dant

Reputation: 4149

When running my Django test suite in VS Code, I get `AF_UNIX path too long`

Score: 0

Views: 38

Answers: 0

Read More
Iren E
Iren E

Reputation: 381

Mock a ManyToMany method add

Score: 0

Views: 20

Answers: 0

Read More
nigel222
nigel222

Reputation: 8192

Why isn't call_command( ... stdout=f ) intercepting stdout?

Score: 3

Views: 859

Answers: 1

Read More
Darwin Tech
Darwin Tech

Reputation: 18919

Django Reverse with arguments '()' and keyword arguments '{}' not found

Score: 192

Views: 175089

Answers: 5

Read More
Sachin
Sachin

Reputation: 195

Assertion error while testing Django views

Score: 7

Views: 12534

Answers: 3

Read More
BLimitless
BLimitless

Reputation: 2575

Configuring Django Testing in PyCharm

Score: 2

Views: 197

Answers: 2

Read More
RaulSamada
RaulSamada

Reputation: 1

Why the test is not matching the path

Score: 0

Views: 13

Answers: 0

Read More
danilociaffi
danilociaffi

Reputation: 53

Django test client redirects logged users to login page

Score: 0

Views: 56

Answers: 3

Read More
Manoj Govindan
Manoj Govindan

Reputation: 74675

Django: how to count SQL queries from a unit test?

Score: 77

Views: 37111

Answers: 8

Read More
dolphus333
dolphus333

Reputation: 1282

How do I setup a unit test user for django app? The unit test can't login

Score: 29

Views: 21732

Answers: 2

Read More
M4rc0txt
M4rc0txt

Reputation: 23

Importing login of users/tests module to another application/tests not working in Django

Score: 0

Views: 36

Answers: 0

Read More
user1003121
user1003121

Reputation: 1219

how to get request object in django unit testing?

Score: 72

Views: 60222

Answers: 6

Read More
tread
tread

Reputation: 11088

Resolved url function not equal to class based view `as_view()` method?

Score: 1

Views: 752

Answers: 2

Read More
PreviousPage 1Next