def test_remove_media(self): expect(self._media_exists(u'file.txt')).to_be_false() self._media_create(u'file.txt') expect(self._media_exists(u'file.txt')).to_be_true() _remove_media([u'file.txt']) expect(self._media_exists(u'file.txt')).to_be_false()
def test_remove_media(self): expect(exists_media_path(u'file.txt')).to_be_false() create_file_and_write(u'file.txt') expect(exists_media_path(u'file.txt')).to_be_true() _remove_media([u'file.txt']) expect(exists_media_path(u'file.txt')).to_be_false()
def test_remove_media(self): expect(exists_media_path('file.txt')).to_be_false() create_file_and_write('file.txt') expect(exists_media_path('file.txt')).to_be_true() _remove_media(['file.txt']) expect(exists_media_path('file.txt')).to_be_false()