How to use the classes.Rider function in classes

To help you get started, we’ve selected a few classes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dgraziotin / dycapo / tests / test_simple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)
        self.rider = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_multiple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)

        self.rider1 = classes.Rider("rob",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("dio",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider3 = classes.Rider("angela",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider4 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.riders = [self.rider1, self.rider2, self.rider3, self.rider4]
        self.rider5 = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider6 = classes.Rider("bruce",settings.RIDER_PASSWORD,settings.DYCAPO_URL)

        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_multiple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)

        self.rider1 = classes.Rider("rob",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("dio",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider3 = classes.Rider("angela",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider4 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.riders = [self.rider1, self.rider2, self.rider3, self.rider4]
        self.rider5 = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider6 = classes.Rider("bruce",settings.RIDER_PASSWORD,settings.DYCAPO_URL)

        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_multiple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)

        self.rider1 = classes.Rider("rob",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("dio",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider3 = classes.Rider("angela",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider4 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.riders = [self.rider1, self.rider2, self.rider3, self.rider4]
        self.rider5 = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider6 = classes.Rider("bruce",settings.RIDER_PASSWORD,settings.DYCAPO_URL)

        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_registration.py View on Github external
def setup_class(self):
        self.rider = classes.Rider(settings.REGISTRATION_USERNAME,settings.REGISTRATION_PASSWORD,settings.DYCAPO_URL)
        self.rider.position_lat = 46.494957
        self.rider.position_lon = 11.340239
        self.rider_position = utils.georss_point_from_coords(self.rider.position_lat, self.rider.position_lon)
    def setup_method(self,method):
github dgraziotin / dycapo / tests / test_simple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)
        self.rider = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_rider.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)
        self.rider = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'
github dgraziotin / dycapo / tests / test_password_change.py View on Github external
def setup_class(self):
        self.rider = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider.position_lat = 46.494957
        self.rider.position_lon = 11.340239
        self.rider_position = utils.georss_point_from_coords(self.rider.position_lat, self.rider.position_lon)
github dgraziotin / dycapo / tests / test_multiple_matching.py View on Github external
def setup_class(self):
        self.driver = classes.Driver(settings.DRIVER_USERNAME,settings.DRIVER_PASSWORD,settings.DYCAPO_URL)

        self.rider1 = classes.Rider("rob",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider2 = classes.Rider("dio",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider3 = classes.Rider("angela",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider4 = classes.Rider("ozzy",settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.riders = [self.rider1, self.rider2, self.rider3, self.rider4]
        self.rider5 = classes.Rider(settings.RIDER_USERNAME,settings.RIDER_PASSWORD,settings.DYCAPO_URL)
        self.rider6 = classes.Rider("bruce",settings.RIDER_PASSWORD,settings.DYCAPO_URL)

        self.driver_position = '46.490200 11.342294'
        self.driver_destination = '46.500740 11.345073'
        self.rider_position = '46.494957  11.340239'
        self.rider_destination = '46.500891  11.344306'