0

I'm learning to write tests with tox. How do the arguments are being passed to test functions in tox/py.test? For example in test_simple_backup_generation from tests/test_backup_cmd.py of django-backup extension there are three arguments tmpdir, settings, db. I don't have any idea where they came from. It's nothing said about this in tox documentation either.

1 Answers1

1

These are pytest fixtures provided by pytest-django and pytest itself.

Nils Werner
  • 34,832
  • 7
  • 76
  • 98