예제 #1
0
 def setUp(self):
     datetime_patch = patch('forms.datetime')
     datetime_parcel_patch = patch('parcel.datetime')
     self.mock_datetime = datetime_patch.start()
     self.mock_parcel_datetime = datetime_parcel_patch.start()
     self.addCleanup(datetime_patch.stop)
     self.addCleanup(datetime_parcel_patch.stop)
     self.addCleanup(authorization_patch().stop)
예제 #2
0
 def setUp(self):
     self.parcels_path = self.wh_path / 'parcels'
     self.addCleanup(authorization_patch().stop)
예제 #3
0
 def setUp(self):
     self.addCleanup(authorization_patch().stop)
예제 #4
0
    def setUp(self):

        self.addCleanup(authorization_patch().stop)
예제 #5
0
 def setUp(self):
     self.parcels_path = self.wh_path / 'parcels'
     self.addCleanup(authorization_patch().stop)
예제 #6
0
 def setUp(self):
     datetime_patch = patch('parcel.datetime')
     self.mock_datetime = datetime_patch.start()
     self.addCleanup(datetime_patch.stop)
     self.addCleanup(authorization_patch().stop)