Django Unit Tests – Changes to self properties are persisting from test to test
I have a test class that has a setup like this. We import a dictionary from a test_helpers file that has some default data. The data is set as FORM_DATA[‘value_A’] = 0 and FORM_DATA[‘value_B’] = 1000000 from the start. Whether I set FORM_DATA to a self.form_data value, or assign it to a variable in each… Read More Django Unit Tests – Changes to self properties are persisting from test to test