@@ -0,0 +1,1285 @@
+from . import FixtureTest%0A%0A%0A%0A# -*- encoding: utf-8 -*-%0Afrom . import FixtureTest%0A%0A%0Aclass AddDirectionToPOIs(FixtureTest):%0A%0A    def test_direction_as_cardinal_abbreviation(self):%0A        import dsl%0A%0A        z, x, y = (16, 10482, 25333)%0A%0A        self.generate_fixtures(%0A            # https://www.openstreetmap.org/node/665689214%0A            dsl.point(665689214, (-122.4195493, 37.7653381), %7B%0A                'tourism': u'viewpoint',%0A                'direction': u'NW',%0A                'name': u'Immigrant Point Overlook',%0A            %7D),%0A        )%0A%0A        self.assert_has_feature(%0A            z, x, y, 'pois', %7B%0A                'id': 665689214,%0A                'kind': u'viewpoint',%0A                'direction': 315,%0A            %7D)%0A            %0A    def test_direction_as_int(self):%0A        import dsl%0A%0A        z, x, y = (16, 10482, 25333)%0A%0A        self.generate_fixtures(%0A            # https://www.openstreetmap.org/node/3109053718%0A            dsl.point(3109053718, (-122.4195493, 37.7653381), %7B%0A                'tourism': u'viewpoint',%0A                'direction': u'270',%0A            %7D),%0A        )%0A%0A        self.assert_has_feature(%0A            z, x, y, 'pois', %7B%0A                'id': 3109053718,%0A                'kind': u'viewpoint',%0A                'direction': 270,%0A            %7D)%0A

add assertions for POI direction when data present and good