Changes between Version 2 and Version 3 of Ticket #26795


Ignore:
Timestamp:
Jun 23, 2016, 9:15:45 AM (8 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26795

    • Property Component Testing frameworkMigrations
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Refactor code in tests.migrations.test_autodetectorFactor out a "get_changes" method in tests.migrations.test_autodetector
  • Ticket #26795 – Description

    v2 v3  
    1616#!python
    1717
    18 
    1918    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)
    2221        autodetector = MigrationAutodetector(before, after)
    2322        return autodetector._detect_changes()
Back to Top