diff --git a/learning/katas/python/Common Transforms/Aggregation/Count/task-remote-info.yaml b/learning/katas/python/Common Transforms/Aggregation/Count/task-remote-info.yaml index f3557d3fc128..52689c17e201 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Count/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Aggregation/Count/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755597 -update_date: Fri, 07 Feb 2020 13:57:24 UTC +update_date: Sat, 16 May 2020 08:39:37 UTC diff --git a/learning/katas/python/Common Transforms/Aggregation/Count/tests.py b/learning/katas/python/Common Transforms/Aggregation/Count/tests.py index ccc96cb6e5ae..3cdcee10214e 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Count/tests.py +++ b/learning/katas/python/Common Transforms/Aggregation/Count/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/Aggregation/Largest/task-remote-info.yaml b/learning/katas/python/Common Transforms/Aggregation/Largest/task-remote-info.yaml index a586df3b2765..838bef5ed78a 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Largest/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Aggregation/Largest/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755601 -update_date: Fri, 07 Feb 2020 13:57:37 UTC +update_date: Sat, 16 May 2020 08:39:49 UTC diff --git a/learning/katas/python/Common Transforms/Aggregation/Largest/tests.py b/learning/katas/python/Common Transforms/Aggregation/Largest/tests.py index 0fced6e38d78..9a420cdb9371 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Largest/tests.py +++ b/learning/katas/python/Common Transforms/Aggregation/Largest/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/Aggregation/Mean/task-remote-info.yaml b/learning/katas/python/Common Transforms/Aggregation/Mean/task-remote-info.yaml index c26a06215eb7..334fab08a577 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Mean/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Aggregation/Mean/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755599 -update_date: Fri, 07 Feb 2020 13:57:30 UTC +update_date: Sat, 16 May 2020 08:39:44 UTC diff --git a/learning/katas/python/Common Transforms/Aggregation/Mean/tests.py b/learning/katas/python/Common Transforms/Aggregation/Mean/tests.py index 9e99d3971d2c..0f21c4886a6c 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Mean/tests.py +++ b/learning/katas/python/Common Transforms/Aggregation/Mean/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/Aggregation/Smallest/task-remote-info.yaml b/learning/katas/python/Common Transforms/Aggregation/Smallest/task-remote-info.yaml index e96b8565e22b..326123dfb49b 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Smallest/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Aggregation/Smallest/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755600 -update_date: Fri, 07 Feb 2020 13:57:34 UTC +update_date: Sat, 16 May 2020 08:39:46 UTC diff --git a/learning/katas/python/Common Transforms/Aggregation/Smallest/tests.py b/learning/katas/python/Common Transforms/Aggregation/Smallest/tests.py index 5bfa80c57c3f..0e574670e532 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Smallest/tests.py +++ b/learning/katas/python/Common Transforms/Aggregation/Smallest/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_answer_placeholders_text_deleted, test_is_not_empty +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/Aggregation/Sum/task-remote-info.yaml b/learning/katas/python/Common Transforms/Aggregation/Sum/task-remote-info.yaml index ecdb0315171e..0c15bfda45a7 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Sum/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Aggregation/Sum/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755598 -update_date: Fri, 07 Feb 2020 13:57:27 UTC +update_date: Sat, 16 May 2020 08:39:40 UTC diff --git a/learning/katas/python/Common Transforms/Aggregation/Sum/tests.py b/learning/katas/python/Common Transforms/Aggregation/Sum/tests.py index e761cdf5beab..30964e799561 100644 --- a/learning/katas/python/Common Transforms/Aggregation/Sum/tests.py +++ b/learning/katas/python/Common Transforms/Aggregation/Sum/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/Filter/Filter/task-remote-info.yaml b/learning/katas/python/Common Transforms/Filter/Filter/task-remote-info.yaml index c13409cde4e1..40b4887ec0b8 100644 --- a/learning/katas/python/Common Transforms/Filter/Filter/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Filter/Filter/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755596 -update_date: Fri, 07 Feb 2020 13:57:21 UTC +update_date: Sat, 16 May 2020 08:39:34 UTC diff --git a/learning/katas/python/Common Transforms/Filter/Filter/tests.py b/learning/katas/python/Common Transforms/Filter/Filter/tests.py index 03487d2def12..da8cd880051f 100644 --- a/learning/katas/python/Common Transforms/Filter/Filter/tests.py +++ b/learning/katas/python/Common Transforms/Filter/Filter/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_filter(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.Filter' in placeholder: - passed() - else: - failed('Use beam.Filter') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_filter() test_output() diff --git a/learning/katas/python/Common Transforms/Filter/ParDo/task-remote-info.yaml b/learning/katas/python/Common Transforms/Filter/ParDo/task-remote-info.yaml index c897e3ac176b..c609ac5c859b 100644 --- a/learning/katas/python/Common Transforms/Filter/ParDo/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/Filter/ParDo/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755595 -update_date: Fri, 07 Feb 2020 13:57:19 UTC +update_date: Sat, 16 May 2020 08:39:30 UTC diff --git a/learning/katas/python/Common Transforms/Filter/ParDo/tests.py b/learning/katas/python/Common Transforms/Filter/ParDo/tests.py index b1d475bd3bdc..0a2cbba3efe7 100644 --- a/learning/katas/python/Common Transforms/Filter/ParDo/tests.py +++ b/learning/katas/python/Common Transforms/Filter/ParDo/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -31,5 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Common Transforms/WithKeys/WithKeys/task-remote-info.yaml b/learning/katas/python/Common Transforms/WithKeys/WithKeys/task-remote-info.yaml index ceb1f3daea62..45eae65adcc6 100644 --- a/learning/katas/python/Common Transforms/WithKeys/WithKeys/task-remote-info.yaml +++ b/learning/katas/python/Common Transforms/WithKeys/WithKeys/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 1124221 -update_date: Mon, 09 Mar 2020 14:34:20 UTC +update_date: Sat, 16 May 2020 08:39:53 UTC diff --git a/learning/katas/python/Common Transforms/WithKeys/WithKeys/tests.py b/learning/katas/python/Common Transforms/WithKeys/WithKeys/tests.py index a3059f27bfa2..7b37e800894f 100644 --- a/learning/katas/python/Common Transforms/WithKeys/WithKeys/tests.py +++ b/learning/katas/python/Common Transforms/WithKeys/WithKeys/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_filter(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.WithKeys' in placeholder: - passed() - else: - failed('Use beam.WithKeys') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -44,6 +32,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_filter() test_output() diff --git a/learning/katas/python/Core Transforms/Branching/Branching/task-remote-info.yaml b/learning/katas/python/Core Transforms/Branching/Branching/task-remote-info.yaml index 28b3f94853f6..f710aa65037b 100644 --- a/learning/katas/python/Core Transforms/Branching/Branching/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Branching/Branching/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755592 -update_date: Fri, 07 Feb 2020 13:57:12 UTC +update_date: Sat, 16 May 2020 08:39:24 UTC diff --git a/learning/katas/python/Core Transforms/Branching/Branching/tests.py b/learning/katas/python/Core Transforms/Branching/Branching/tests.py index de1fea6ac46a..6df8cd5fdee7 100644 --- a/learning/katas/python/Core Transforms/Branching/Branching/tests.py +++ b/learning/katas/python/Core Transforms/Branching/Branching/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -41,5 +40,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/task-remote-info.yaml b/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/task-remote-info.yaml index cc40fdd3a88c..a744160f43e2 100644 --- a/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755583 -update_date: Fri, 07 Feb 2020 13:56:44 UTC +update_date: Sat, 16 May 2020 08:38:58 UTC diff --git a/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/tests.py b/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/tests.py index da1278265666..16e0501187ef 100644 --- a/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/tests.py +++ b/learning/katas/python/Core Transforms/CoGroupByKey/CoGroupByKey/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -35,5 +34,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Core Transforms/Combine/Combine PerKey/task-remote-info.yaml b/learning/katas/python/Core Transforms/Combine/Combine PerKey/task-remote-info.yaml index eafecc41c231..55762002367f 100644 --- a/learning/katas/python/Core Transforms/Combine/Combine PerKey/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Combine/Combine PerKey/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755587 -update_date: Fri, 07 Feb 2020 13:56:58 UTC +update_date: Sat, 16 May 2020 08:39:07 UTC diff --git a/learning/katas/python/Core Transforms/Combine/Combine PerKey/tests.py b/learning/katas/python/Core Transforms/Combine/Combine PerKey/tests.py index e8042837ed22..cd6ab2e6638f 100644 --- a/learning/katas/python/Core Transforms/Combine/Combine PerKey/tests.py +++ b/learning/katas/python/Core Transforms/Combine/Combine PerKey/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_combine_placeholders(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.CombinePerKey' in placeholder: - passed() - else: - failed('Use beam.CombinePerKey') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -47,6 +35,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_combine_placeholders() test_output() diff --git a/learning/katas/python/Core Transforms/Combine/CombineFn/task-remote-info.yaml b/learning/katas/python/Core Transforms/Combine/CombineFn/task-remote-info.yaml index 79a29f2a4048..7a977e1e3021 100644 --- a/learning/katas/python/Core Transforms/Combine/CombineFn/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Combine/CombineFn/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755585 -update_date: Fri, 07 Feb 2020 13:56:52 UTC +update_date: Sat, 16 May 2020 08:39:05 UTC diff --git a/learning/katas/python/Core Transforms/Combine/CombineFn/tests.py b/learning/katas/python/Core Transforms/Combine/CombineFn/tests.py index 656e5b38abed..9883983df90f 100644 --- a/learning/katas/python/Core Transforms/Combine/CombineFn/tests.py +++ b/learning/katas/python/Core Transforms/Combine/CombineFn/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_combine_placeholders(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.CombineGlobally' in placeholder: - passed() - else: - failed('Use beam.CombineGlobally') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_combine_placeholders() test_output() diff --git a/learning/katas/python/Core Transforms/Combine/Simple Function/task-remote-info.yaml b/learning/katas/python/Core Transforms/Combine/Simple Function/task-remote-info.yaml index 9f6681d15dbf..d9a9a682a804 100644 --- a/learning/katas/python/Core Transforms/Combine/Simple Function/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Combine/Simple Function/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755584 -update_date: Fri, 07 Feb 2020 13:56:48 UTC +update_date: Sat, 16 May 2020 08:39:01 UTC diff --git a/learning/katas/python/Core Transforms/Combine/Simple Function/tests.py b/learning/katas/python/Core Transforms/Combine/Simple Function/tests.py index 2d740d8400e6..a5465af2d106 100644 --- a/learning/katas/python/Core Transforms/Combine/Simple Function/tests.py +++ b/learning/katas/python/Core Transforms/Combine/Simple Function/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_combine_placeholders(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.CombineGlobally' in placeholder: - passed() - else: - failed('Use beam.CombineGlobally') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_combine_placeholders() test_output() diff --git a/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/task-remote-info.yaml b/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/task-remote-info.yaml index 85d30168d3c2..f13ea56657a7 100644 --- a/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755593 -update_date: Fri, 07 Feb 2020 13:57:15 UTC +update_date: Sat, 16 May 2020 08:39:27 UTC diff --git a/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/tests.py b/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/tests.py index cc7db805461f..f0fa900f8cbe 100644 --- a/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/tests.py +++ b/learning/katas/python/Core Transforms/Composite Transform/Composite Transform/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_composite_expand_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'def expand(' in placeholder: - passed() - else: - failed('Override "expand" method') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_composite_expand_method() test_output() diff --git a/learning/katas/python/Core Transforms/Flatten/Flatten/task-remote-info.yaml b/learning/katas/python/Core Transforms/Flatten/Flatten/task-remote-info.yaml index 634212c1544c..86479f26438c 100644 --- a/learning/katas/python/Core Transforms/Flatten/Flatten/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Flatten/Flatten/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755588 -update_date: Fri, 07 Feb 2020 13:57:02 UTC +update_date: Sat, 16 May 2020 08:39:12 UTC diff --git a/learning/katas/python/Core Transforms/Flatten/Flatten/tests.py b/learning/katas/python/Core Transforms/Flatten/Flatten/tests.py index c2caa2ee87db..db32bc65ee97 100644 --- a/learning/katas/python/Core Transforms/Flatten/Flatten/tests.py +++ b/learning/katas/python/Core Transforms/Flatten/Flatten/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_flatten(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.Flatten' in placeholder: - passed() - else: - failed('Use beam.Flatten') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_flatten() test_output() diff --git a/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/task-remote-info.yaml b/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/task-remote-info.yaml index 23d7d408b218..f2bc16bcf5a8 100644 --- a/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755582 -update_date: Fri, 07 Feb 2020 13:56:41 UTC +update_date: Sat, 16 May 2020 08:38:55 UTC diff --git a/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/tests.py b/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/tests.py index 8f9ffd57f98d..e16fb6cb4883 100644 --- a/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/tests.py +++ b/learning/katas/python/Core Transforms/GroupByKey/GroupByKey/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -33,5 +32,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/Core Transforms/Map/FlatMap/task-remote-info.yaml b/learning/katas/python/Core Transforms/Map/FlatMap/task-remote-info.yaml index 4911596641ba..dd7334f6c3d2 100644 --- a/learning/katas/python/Core Transforms/Map/FlatMap/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Map/FlatMap/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755580 -update_date: Fri, 07 Feb 2020 13:56:38 UTC +update_date: Sat, 16 May 2020 08:38:52 UTC diff --git a/learning/katas/python/Core Transforms/Map/FlatMap/tests.py b/learning/katas/python/Core Transforms/Map/FlatMap/tests.py index 6eaaa643e938..e166eae902a1 100644 --- a/learning/katas/python/Core Transforms/Map/FlatMap/tests.py +++ b/learning/katas/python/Core Transforms/Map/FlatMap/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_flatmap(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.FlatMap' in placeholder: - passed() - else: - failed('Use beam.FlatMap') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_flatmap() test_output() diff --git a/learning/katas/python/Core Transforms/Map/Map/task-remote-info.yaml b/learning/katas/python/Core Transforms/Map/Map/task-remote-info.yaml index a9505b797650..c73b21b38a98 100644 --- a/learning/katas/python/Core Transforms/Map/Map/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Map/Map/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755579 -update_date: Fri, 07 Feb 2020 13:56:35 UTC +update_date: Sat, 16 May 2020 08:38:48 UTC diff --git a/learning/katas/python/Core Transforms/Map/Map/tests.py b/learning/katas/python/Core Transforms/Map/Map/tests.py index 52789eabdde1..2380fe438df7 100644 --- a/learning/katas/python/Core Transforms/Map/Map/tests.py +++ b/learning/katas/python/Core Transforms/Map/Map/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_map(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'beam.Map' in placeholder: - passed() - else: - failed('Use beam.Map') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -42,6 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_map() test_output() diff --git a/learning/katas/python/Core Transforms/Map/ParDo OneToMany/task-remote-info.yaml b/learning/katas/python/Core Transforms/Map/ParDo OneToMany/task-remote-info.yaml index 33a41e96f1db..44c90ab15c6d 100644 --- a/learning/katas/python/Core Transforms/Map/ParDo OneToMany/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Map/ParDo OneToMany/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755578 -update_date: Fri, 07 Feb 2020 13:56:32 UTC +update_date: Sat, 16 May 2020 08:38:45 UTC diff --git a/learning/katas/python/Core Transforms/Map/ParDo OneToMany/tests.py b/learning/katas/python/Core Transforms/Map/ParDo OneToMany/tests.py index b934821e3566..c83a7dd7b0cb 100644 --- a/learning/katas/python/Core Transforms/Map/ParDo OneToMany/tests.py +++ b/learning/katas/python/Core Transforms/Map/ParDo OneToMany/tests.py @@ -14,29 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_dofn_process_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'def process(self, element' in placeholder: - passed() - else: - failed('Override "process" method') - - -def test_pardo(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.ParDo(BreakIntoWordsDoFn())' in placeholder: - passed() - else: - failed('Use beam.ParDo') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -52,7 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_dofn_process_method() - test_pardo() test_output() diff --git a/learning/katas/python/Core Transforms/Map/ParDo/task-remote-info.yaml b/learning/katas/python/Core Transforms/Map/ParDo/task-remote-info.yaml index 8a43bcd9ebc6..52fa1b97e7bd 100644 --- a/learning/katas/python/Core Transforms/Map/ParDo/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Map/ParDo/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755577 -update_date: Fri, 07 Feb 2020 13:56:29 UTC +update_date: Sat, 16 May 2020 08:38:41 UTC diff --git a/learning/katas/python/Core Transforms/Map/ParDo/tests.py b/learning/katas/python/Core Transforms/Map/ParDo/tests.py index 55913188a937..a274e68cd353 100644 --- a/learning/katas/python/Core Transforms/Map/ParDo/tests.py +++ b/learning/katas/python/Core Transforms/Map/ParDo/tests.py @@ -14,29 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_dofn_process_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'def process(self, element' in placeholder: - passed() - else: - failed('Override "process" method') - - -def test_pardo(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.ParDo(MultiplyByTenDoFn())' in placeholder: - passed() - else: - failed('Use beam.ParDo') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -52,7 +30,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_dofn_process_method() - test_pardo() test_output() diff --git a/learning/katas/python/Core Transforms/Partition/Partition/task-remote-info.yaml b/learning/katas/python/Core Transforms/Partition/Partition/task-remote-info.yaml index 948872272133..719fdfa07ec2 100644 --- a/learning/katas/python/Core Transforms/Partition/Partition/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Partition/Partition/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755589 -update_date: Fri, 07 Feb 2020 13:59:37 UTC +update_date: Sat, 16 May 2020 08:39:15 UTC diff --git a/learning/katas/python/Core Transforms/Partition/Partition/tests.py b/learning/katas/python/Core Transforms/Partition/Partition/tests.py index bbeeaf7c196e..d8285aede76f 100644 --- a/learning/katas/python/Core Transforms/Partition/Partition/tests.py +++ b/learning/katas/python/Core Transforms/Partition/Partition/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_partition(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.Partition' in placeholder: - passed() - else: - failed('Use beam.Partition') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -51,6 +39,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_partition() test_output() diff --git a/learning/katas/python/Core Transforms/Side Input/Side Input/task-remote-info.yaml b/learning/katas/python/Core Transforms/Side Input/Side Input/task-remote-info.yaml index 338c410d5074..27aee73cf542 100644 --- a/learning/katas/python/Core Transforms/Side Input/Side Input/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Side Input/Side Input/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755590 -update_date: Fri, 07 Feb 2020 13:57:06 UTC +update_date: Sat, 16 May 2020 08:39:18 UTC diff --git a/learning/katas/python/Core Transforms/Side Input/Side Input/tests.py b/learning/katas/python/Core Transforms/Side Input/Side Input/tests.py index 8fdd7da55e20..6171323e0bbb 100644 --- a/learning/katas/python/Core Transforms/Side Input/Side Input/tests.py +++ b/learning/katas/python/Core Transforms/Side Input/Side Input/tests.py @@ -22,29 +22,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_dofn_process_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'def process(self, element' in placeholder: - passed() - else: - failed('Override "process" method') - - -def test_pardo(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.ParDo(EnrichCountryDoFn(),' in placeholder: - passed() - else: - failed('Use beam.ParDo that accepts side input') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -66,7 +44,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_dofn_process_method() - test_pardo() test_output() diff --git a/learning/katas/python/Core Transforms/Side Output/Side Output/task-remote-info.yaml b/learning/katas/python/Core Transforms/Side Output/Side Output/task-remote-info.yaml index 74de155ae7cc..294e73e88664 100644 --- a/learning/katas/python/Core Transforms/Side Output/Side Output/task-remote-info.yaml +++ b/learning/katas/python/Core Transforms/Side Output/Side Output/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755591 -update_date: Fri, 07 Feb 2020 13:57:09 UTC +update_date: Sat, 16 May 2020 08:39:21 UTC diff --git a/learning/katas/python/Core Transforms/Side Output/Side Output/tests.py b/learning/katas/python/Core Transforms/Side Output/Side Output/tests.py index 1af84398a91f..89b299b40744 100644 --- a/learning/katas/python/Core Transforms/Side Output/Side Output/tests.py +++ b/learning/katas/python/Core Transforms/Side Output/Side Output/tests.py @@ -14,29 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_dofn_process_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'pvalue.TaggedOutput' in placeholder: - passed() - else: - failed('Use pvalue.TaggedOutput') - - -def test_pardo(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if all(['beam.ParDo(ProcessNumbersDoFn())', '.with_outputs,']) in placeholder: - passed() - else: - failed('Use beam.ParDo that outputs multiple outputs') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -61,7 +39,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_dofn_process_method() - test_pardo() test_output() diff --git a/learning/katas/python/Examples/Word Count/Word Count/task-remote-info.yaml b/learning/katas/python/Examples/Word Count/Word Count/task-remote-info.yaml index b1f7f2c9d8a9..7d548cc1fed8 100644 --- a/learning/katas/python/Examples/Word Count/Word Count/task-remote-info.yaml +++ b/learning/katas/python/Examples/Word Count/Word Count/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755604 -update_date: Fri, 07 Feb 2020 13:57:43 UTC +update_date: Sat, 16 May 2020 08:40:05 UTC diff --git a/learning/katas/python/Examples/Word Count/Word Count/tests.py b/learning/katas/python/Examples/Word Count/Word Count/tests.py index 16b7bf511c0a..50a2bdcc3e61 100644 --- a/learning/katas/python/Examples/Word Count/Word Count/tests.py +++ b/learning/katas/python/Examples/Word Count/Word Count/tests.py @@ -14,8 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, get_file_output, \ - test_is_not_empty, test_answer_placeholders_text_deleted +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -37,5 +36,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() test_output() diff --git a/learning/katas/python/IO/TextIO/ReadFromText/task-remote-info.yaml b/learning/katas/python/IO/TextIO/ReadFromText/task-remote-info.yaml index a6a6ee6702f6..6d38a5ed410a 100644 --- a/learning/katas/python/IO/TextIO/ReadFromText/task-remote-info.yaml +++ b/learning/katas/python/IO/TextIO/ReadFromText/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755602 -update_date: Fri, 07 Feb 2020 13:57:40 UTC +update_date: Sat, 16 May 2020 08:39:56 UTC diff --git a/learning/katas/python/IO/TextIO/ReadFromText/tests.py b/learning/katas/python/IO/TextIO/ReadFromText/tests.py index 273aada62397..5a29e43d8797 100644 --- a/learning/katas/python/IO/TextIO/ReadFromText/tests.py +++ b/learning/katas/python/IO/TextIO/ReadFromText/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_readfromtext_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'ReadFromText(' in placeholder: - passed() - else: - failed('Use beam.io.ReadFromText') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -53,6 +41,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_readfromtext_method() test_output() diff --git a/learning/katas/python/Introduction/Hello Beam/Hello Beam/task-remote-info.yaml b/learning/katas/python/Introduction/Hello Beam/Hello Beam/task-remote-info.yaml index 800507e89f53..88d4352a0092 100644 --- a/learning/katas/python/Introduction/Hello Beam/Hello Beam/task-remote-info.yaml +++ b/learning/katas/python/Introduction/Hello Beam/Hello Beam/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 755575 -update_date: Fri, 07 Feb 2020 13:56:26 UTC +update_date: Sat, 16 May 2020 08:38:38 UTC diff --git a/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py b/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py index 33d45a642c03..d0e909867858 100644 --- a/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py +++ b/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py @@ -14,18 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_answer_placeholders(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - if 'beam.Create' in placeholder: - passed() - else: - failed('Use beam.Create') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -39,6 +28,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_answer_placeholders() test_output() diff --git a/learning/katas/python/Windowing/Adding Timestamp/ParDo/task-remote-info.yaml b/learning/katas/python/Windowing/Adding Timestamp/ParDo/task-remote-info.yaml index d65ccb3f218e..fefad295f453 100644 --- a/learning/katas/python/Windowing/Adding Timestamp/ParDo/task-remote-info.yaml +++ b/learning/katas/python/Windowing/Adding Timestamp/ParDo/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 1124219 -update_date: Mon, 09 Mar 2020 14:33:58 UTC +update_date: Sat, 16 May 2020 08:39:59 UTC diff --git a/learning/katas/python/Windowing/Adding Timestamp/ParDo/tests.py b/learning/katas/python/Windowing/Adding Timestamp/ParDo/tests.py index 1db5ba142f2b..9c2bb8b72657 100644 --- a/learning/katas/python/Windowing/Adding Timestamp/ParDo/tests.py +++ b/learning/katas/python/Windowing/Adding Timestamp/ParDo/tests.py @@ -14,29 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_dofn_process_method(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'def process(self,' in placeholder: - passed() - else: - failed('Override "process" method') - - -def test_pardo(): - placeholders = get_answer_placeholders() - placeholder = placeholders[1] - - if 'beam.ParDo(AddTimestampDoFn())' in placeholder: - passed() - else: - failed('Use beam.ParDo') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -58,7 +36,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_dofn_process_method() - test_pardo() test_output() diff --git a/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/task-remote-info.yaml b/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/task-remote-info.yaml index c826ee1d0de7..6907a41ec685 100644 --- a/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/task-remote-info.yaml +++ b/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 1124220 -update_date: Mon, 09 Mar 2020 14:34:10 UTC +update_date: Sat, 16 May 2020 08:40:02 UTC diff --git a/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/tests.py b/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/tests.py index ee5b2ab3e1f2..e627fb5f4ec4 100644 --- a/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/tests.py +++ b/learning/katas/python/Windowing/Fixed Time Window/Fixed Time Window/tests.py @@ -14,19 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from test_helper import failed, passed, \ - get_answer_placeholders, get_file_output, test_is_not_empty, \ - test_answer_placeholders_text_deleted - - -def test_fixedwindows(): - placeholders = get_answer_placeholders() - placeholder = placeholders[0] - - if 'FixedWindows' in placeholder: - passed() - else: - failed('Use FixedWindows') +from test_helper import failed, passed, get_file_output, test_is_not_empty def test_output(): @@ -47,6 +35,4 @@ def test_output(): if __name__ == '__main__': test_is_not_empty() - test_answer_placeholders_text_deleted() - test_fixedwindows() test_output() diff --git a/learning/katas/python/course-remote-info.yaml b/learning/katas/python/course-remote-info.yaml index 38b403da0f4b..c1442a23cf9d 100644 --- a/learning/katas/python/course-remote-info.yaml +++ b/learning/katas/python/course-remote-info.yaml @@ -1,2 +1,2 @@ id: 54532 -update_date: Mon, 09 Mar 2020 14:33:44 UTC +update_date: Sat, 16 May 2020 08:38:35 UTC