94e567f0890f4124e9fe65606e51c21b003e64ee,lib/tests/streamlit/add_rows_test.py,DeltaGeneratorAddRowsTest,test_simple_add_rows,#DeltaGeneratorAddRowsTest#,86

Before Change


            self.assertEqual(num_rows, 5)

            // Clear the queue so the next loop is like a brand new test.
            st._reset()
            self.report_queue.clear()

    def test_with_index_add_rows(self):
        Test plain old add_rows.

After Change


            self.assertEqual(num_rows, 5)

            // Clear the queue so the next loop is like a brand new test.
            get_report_ctx().reset()
            self.report_queue.clear()

    def test_with_index_add_rows(self):
        Test plain old add_rows.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_simple_add_rows


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/streamlit/ScriptRunner.py
Class Name: ScriptRunner
Method Name: _run_script


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_named_add_rows_with_clear_queue


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_simple_add_rows_with_clear_queue


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_with_index_add_rows


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_with_index_no_data_add_rows


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_no_index_no_data_add_rows


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_named_add_rows


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_add_rows_works_when_new_name


Project Name: streamlit/streamlit
Commit Name: 94e567f0890f4124e9fe65606e51c21b003e64ee
Time: 2020-01-29
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/add_rows_test.py
Class Name: DeltaGeneratorAddRowsTest
Method Name: test_add_rows_fails_when_wrong_shape