@@ -16,10 +16,10 @@ def test_build_migration_sequence_empty(mock_get_previous_migration_id):
16
16
# Mock the output of get_migration_files
17
17
with patch .object (Migration , 'get_migration_files' , return_value = []):
18
18
# Instantiate YourClass
19
- your_instance = Migration ()
19
+ migration_instance = Migration ()
20
20
21
21
# Call the method to test
22
- result = your_instance .build_migration_sequence ()
22
+ result = migration_instance .build_migration_sequence ()
23
23
24
24
# Assert that the result is an empty dictionary
25
25
assert result == {}
@@ -36,10 +36,10 @@ def test_build_migration_sequence_with_dependencies(mock_get_previous_migration_
36
36
}.get
37
37
38
38
# Instantiate YourClass
39
- your_instance = Migration ()
39
+ migration_instance = Migration ()
40
40
41
41
# Call the method to test
42
- result = your_instance .build_migration_sequence ()
42
+ result = migration_instance .build_migration_sequence ()
43
43
44
44
# Assert the result
45
45
expected_result = {'migration1' : None , 'migration2' : 'migration1' , 'migration3' : 'migration2' }
@@ -56,7 +56,7 @@ def test_build_migration_sequence_with_circular_dependency(mock_get_previous_mig
56
56
}.get
57
57
58
58
# Instantiate YourClass
59
- your_instance = Migration ()
59
+ migration_instance = Migration ()
60
60
61
61
# Call the method to test and assert the raised ValueError with the expected message
62
62
with pytest .raises (ValueError ) as exc_info :
0 commit comments