99ac030ac2eac3a8f3b8b9977558c930387de693,lib/tests/streamlit/vega_lite_test.py,VegaLiteTest,test_spec_in_arg1,#VegaLiteTest#,72

Before Change


        Test that it can be called spec as the 1st arg.
        st.vega_lite_chart({"mark": "rect"})

        c = self.get_vega_lite_delta()
        self.assertEqual(c.HasField("data"), False)
        self.assertDictEqual(json.loads(c.spec), {"mark": "rect"})

    def test_data_in_spec(self):

After Change


        Test that it can be called spec as the 1st arg.
        st.vega_lite_chart({"mark": "rect"})

        c = self.get_delta_from_queue().new_element.vega_lite_chart
        self.assertEqual(c.HasField("data"), False)
        self.assertDictEqual(json.loads(c.spec), {"mark": "rect"})

    def test_data_in_spec(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_spec_in_arg1


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_datasets_correctly_in_spec


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_spec_but_no_data


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_dict_unflatten


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_no_args


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_datasets_in_spec


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_none_args


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_add_rows


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_data_in_spec


Project Name: streamlit/streamlit
Commit Name: 99ac030ac2eac3a8f3b8b9977558c930387de693
Time: 2019-05-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/vega_lite_test.py
Class Name: VegaLiteTest
Method Name: test_data_value_in_spec