Fix sources list order in test_components.py (#6321)

* fix sources list ordering

* revert ruff change
This commit is contained in:
Hannah 2023-11-07 17:22:42 +01:00 committed by GitHub
parent fad92c29dc
commit 5551d8e439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -712,7 +712,7 @@ class TestAudio:
audio_input = gr.Audio(label="Upload Your Audio")
assert audio_input.get_config() == {
"autoplay": False,
"sources": ["microphone", "upload"],
"sources": ["upload", "microphone"],
"name": "audio",
"show_download_button": True,
"show_share_button": False,
@ -776,7 +776,7 @@ class TestAudio:
"type": "filepath",
"format": "wav",
"streamable": False,
"sources": ["microphone", "upload"],
"sources": ["upload", "microphone"],
"waveform_options": None,
"_selectable": False,
}