ojake
Results
2
comments of
ojake
I tried to find something that would let me test unmanaged models, and only found solutions for default django testing, nothing that would work with pytest-django. So I hacked a...
Hey. Currently it has to be: ``` python @pytest.mark.django_db @pytest.mark.django_use_model(MyUnamanged) def test_myunmanaged_model(): ... ``` My thinking was that it's kind of imperative that if test uses model, it will most...