示例#1
0
 def test_detect_filetype_returns_text_if_unknown(self):
     assert sops.detect_filetype("file.xml") == "bytes"
示例#2
0
 def test_detect_filetype_handle_yaml(self):
     assert sops.detect_filetype("file.yaml") == "yaml"
示例#3
0
 def test_detect_filetype_handle_json(self):
     assert sops.detect_filetype("file.json") == "json"
示例#4
0
 def test_detect_filetype_returns_text_if_unknown(self):
     assert sops.detect_filetype("file.xml") == "bytes"
示例#5
0
 def test_detect_filetype_handle_yaml(self):
     assert sops.detect_filetype("file.yaml") == "yaml"
示例#6
0
 def test_detect_filetype_handle_json(self):
     assert sops.detect_filetype("file.json") == "json"