Exemplo n.º 1
0
 def test_flac_reference_really_big(self):
     if not have_flac:
         return
     self.test_really_big()
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 2
0
 def test_flac_reference_medium_sized(self):
     if not have_flac:
         return
     self.audio["foobar"] = "foobar" * 1000
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 3
0
 def test_flac_reference_medium_sized(self):
     if not have_flac:
         return
     self.audio["foobar"] = "foobar" * 1000
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 4
0
 def test_flac_reference_really_big(self):
     if not have_flac:
         return
     self.test_really_big()
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 5
0
 def test_flac_reference_delete_readd(self):
     if not have_flac:
         return
     self.audio.delete()
     self.audio.tags.clear()
     self.audio["foobar"] = "foobar" * 1000
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 6
0
 def test_flac_reference_delete_readd(self):
     if not have_flac:
         return
     self.audio.delete()
     self.audio.tags.clear()
     self.audio["foobar"] = "foobar" * 1000
     self.audio.save()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 7
0
 def test_flac_reference_delete(self):
     if not have_flac:
         return
     self.audio.delete()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)
Exemplo n.º 8
0
 def test_flac_reference_delete(self):
     if not have_flac:
         return
     self.audio.delete()
     self.scan_file()
     self.assertEqual(call_flac("--ogg", "-t", self.filename), 0)