def get_box_around(self, diagonal_meters=None):
        if not diagonal_meters:
            diagonal_meters = self.offset

        diagonal_kmeters = diagonal_meters / 1000.0
        destination = geopy.distance.GreatCircleDistance().destination
        box_around = [self.get_location_from_geopy_point(
                            destination(self.georss_point,40,diagonal_kmeters)),
                      self.get_location_from_geopy_point(
                            destination(self.georss_point,135,diagonal_kmeters)),
                      self.get_location_from_geopy_point(
                        destination(self.georss_point,225,diagonal_kmeters)),
                      self.get_location_from_geopy_point(
                      destination(self.georss_point,315,diagonal_kmeters))]
        return box_around
Test to remove a license
dataset/ETHPy150Open dgraziotin/dycapo/server/models/location.py/Location.get_box_around--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/powerpath_test.py/PowerpathTestCase.test_remove_license