Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-0.7.7/lfs/shipping/tests.py   django-lfs(Download)
 
        # For product 1 (weight: 6.0) the sm1 is the first valid (weight: 5.0 - 10.0)
        result = utils.get_first_valid_shipping_method(request, product=self.p1)
        self.assertEqual(result, self.sm1)
 
        # For product 1 (weight: 12.0) the sm1 is the first valid (weigth: > 10.0)
        result = utils.get_first_valid_shipping_method(request, product=self.p2)

src/d/j/django-lfs-HEAD/lfs/shipping/tests.py   django-lfs(Download)
 
        # For product 1 (weight: 6.0) the sm1 is the first valid (weight: 5.0 - 10.0)
        result = utils.get_first_valid_shipping_method(request, product=self.p1)
        self.assertEqual(result, self.sm1)
 
        # For product 1 (weight: 12.0) the sm1 is the first valid (weigth: > 10.0)
        result = utils.get_first_valid_shipping_method(request, product=self.p2)

src/l/f/lfs-HEAD/shipping/tests.py   lfs(Download)
 
        # For product 1 (weight: 6.0) the sm1 is the first valid (weight: 5.0 - 10.0)
        result = utils.get_first_valid_shipping_method(request, product=self.p1)
        self.assertEqual(result, self.sm1)
 
        # For product 1 (weight: 12.0) the sm1 is the first valid (weigth: > 10.0)        
        result = utils.get_first_valid_shipping_method(request, product=self.p2)