42367e4e33a7c8a19cfacda5a432cc6c44b4ca81,lib/tests/streamlit/delta_generator_test.py,DeltaGeneratorTextTest,test_json_string,#DeltaGeneratorTextTest#,258

Before Change


        // Testing JSON string
        self._dg.json(json_string)

        element = get_element(self._dg)
        self.assertEqual(json_string, element.text.body)
        self.assertEqual(protobuf.Text.JSON, element.text.format)

    def test_json_unserializable(self):

After Change


        // Testing JSON string
        self._dg.json(json_string)

        element = self.queue[-1].delta.new_element
        self.assertEqual(json_string, element.text.body)
        self.assertEqual(protobuf.Text.JSON, element.text.format)

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

Frequency: 8

Non-data size: 9

Instances


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_string


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_unserializable


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_code


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorImageTest
Method Name: test_unequal_images_and_captions_error


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_markdown


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_generic_text


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_object


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_empty