示例#1
0
 def test_DEEP_too_many_syms(self):
     with pytest.raises(ValueError):
         get_deep(["AAPL", "TSLA"])
示例#2
0
    def test_DEEP_json_syms(self):
        js = get_deep("AAPL")

        assert isinstance(js, dict)
示例#3
0
 def test_DEEP_pandas(self):
     with pytest.raises(ValueError):
         get_deep("AAPL", output_format='pandas')
示例#4
0
 def test_DEEP_json_default(self):
     with pytest.raises(ValueError):
         get_deep()