You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work. My hunch is that it's because initial is set when the module is loaded at the beginning of the test run. So I tried reloading, adding the two lines after the settings update:
I have a django form with a field defined like this:
I'm writing a test where I'd like to use
@pytest.mark.parametrize
to test different values ofFIELD_BASE
. Something like:This does not work. My hunch is that it's because
initial
is set when the module is loaded at the beginning of the test run. So I tried reloading, adding the two lines after the settings update:Still no luck.
Any thoughts on how to handle this?
The text was updated successfully, but these errors were encountered: