def setUp(self): self.f = get_temp_copy(get_data_path('silence-44-s.mpc')) self.s = MPCFile(self.f)
def setUp(self): fd, self.f = mkstemp(".mpc") os.close(fd) shutil.copy(os.path.join(DATA_DIR, 'silence-44-s.mpc'), self.f) self.s = MPCFile(self.f)
def setUp(self): self.song = MPCFile(os.path.join(DATA_DIR, 'silence-44-s.mpc')) self.song2 = MPCFile(os.path.join(DATA_DIR, 'silence-44-s.sv8.mpc'))
def setUp(self): self.song = MPCFile(get_data_path('silence-44-s.mpc')) self.song2 = MPCFile(get_data_path('silence-44-s.sv8.mpc'))
def setUp(self): self.f = get_temp_copy(os.path.join(DATA_DIR, 'silence-44-s.mpc')) self.s = MPCFile(self.f)