Falko Schindler 2 년 전
부모
커밋
3cb4484f0b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/test_upload.py

+ 1 - 1
tests/test_upload.py

@@ -23,7 +23,7 @@ def test_uploading_text_file(screen: Screen):
     screen.wait(0.1)
     assert len(results) == 1
     assert results[0].name == test_path1.name
-    assert results[0].type == 'text/x-python-script'
+    assert results[0].type in ['text/x-python', 'text/x-python-script']
     assert results[0].content.read() == test_path1.read_bytes()