1b6ab062a21bc0d6544e75a25e1726426bfd90d4,lib/tests/streamlit/delta_generator_test.py,DeltaGeneratorTextTest,test_generic_text,#DeltaGeneratorTextTest#,84
Before Change
for name, format in test_data.items():
method = unwrap(self._dg, name)
delta = protobuf.Delta()
element = delta.new_element
method(self._dg, element, string_data)
self.assertEquals(string_data, getattr(element, "text").body)
self.assertEquals(format, getattr(element, "text").format)
After Change
method = getattr(self._dg, name)
method(string_data)
element = get_element(self._dg)
self.assertEquals(string_data, getattr(element, "text").body)
self.assertEquals(format, getattr(element, "text").format)
def test_json_object(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: streamlit/streamlit
Commit Name: 1b6ab062a21bc0d6544e75a25e1726426bfd90d4
Time: 2019-02-14
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: 1b6ab062a21bc0d6544e75a25e1726426bfd90d4
Time: 2019-02-14
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: 1b6ab062a21bc0d6544e75a25e1726426bfd90d4
Time: 2019-02-14
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: 1b6ab062a21bc0d6544e75a25e1726426bfd90d4
Time: 2019-02-14
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_string