Changes between Version 2 and Version 3 of Ticket #26795
- Timestamp:
- Jun 23, 2016, 9:15:45 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26795
- Property Component Testing framework → Migrations
- Property Triage Stage Unreviewed → Accepted
- Property Summary Refactor code in tests.migrations.test_autodetector → Factor out a "get_changes" method in tests.migrations.test_autodetector
-
Ticket #26795 – Description
v2 v3 16 16 #!python 17 17 18 19 18 def get_changes(self, before_states, after_states): 20 before = self.make_project_state( [self.author_name])21 after = self.make_project_state( [self.author_name_longer])19 before = self.make_project_state(before_states) 20 after = self.make_project_state(after_states) 22 21 autodetector = MigrationAutodetector(before, after) 23 22 return autodetector._detect_changes()