fix(django): make the test runner non-interactive by default (#95)
This commit is contained in:
committed by
GitHub
parent
ae21072712
commit
61e878f4b3
@@ -64,6 +64,7 @@ class DjangoNeotestAdapter(CaseUtilsMixin, NeotestAdapter):
|
|||||||
class DjangoUnittestRunner(CaseUtilsMixin, DiscoverRunner):
|
class DjangoUnittestRunner(CaseUtilsMixin, DiscoverRunner):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
django_setup()
|
django_setup()
|
||||||
|
kwargs["interactive"] = False
|
||||||
DiscoverRunner.__init__(self, **kwargs)
|
DiscoverRunner.__init__(self, **kwargs)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Reference in New Issue
Block a user