Skip to content

Commit

Permalink
refactors location fixer and test to include "location"
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed May 28, 2021
1 parent c057e63 commit fb37d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
from ormigrate.fixer import PageFixer, WikiPage

class LocationFixer(PageFixer):
'''
fixes Locations
'''
COUNTRY = "Country"
REGION = "State"
CITY = "City"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest import TestCase

from ormigrate.issue220 import LocationFixer
from ormigrate.issue220_location import LocationFixer
from ormigrate.toolbox import HelperFunctions as hf

class TestLocationFixer(TestCase):
Expand Down

0 comments on commit fb37d88

Please sign in to comment.