mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-25 12:10:31 +08:00
Fix sources
list order in test_components.py
(#6321)
* fix sources list ordering * revert ruff change
This commit is contained in:
parent
fad92c29dc
commit
5551d8e439
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user