fixing test inputs

This commit is contained in:
Abubakar Abid 2022-03-18 17:18:06 -07:00
parent 6bcbde43d7
commit 77eae4534d
2 changed files with 0 additions and 4 deletions

View File

@ -1567,9 +1567,6 @@ class Audio(Component):
def deserialize(self, x):
return processing_utils.decode_base64_to_file(x).name
def restore_flagged(self, dir, data, encryption_key):
return self.restore_flagged_file(dir, data, encryption_key)["data"]
class File(Component):
"""

View File

@ -542,7 +542,6 @@ class TestAudio(unittest.TestCase):
audio_input.get_template_context(),
{
"source": "upload",
"optional": False,
"name": "audio",
"label": "Upload Your Audio",
},