Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
16 changes: 1 addition & 15 deletions learning/katas/python/Common Transforms/Filter/Filter/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -42,6 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_filter()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -31,5 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -44,6 +32,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_filter()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -41,5 +40,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -35,5 +34,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -47,6 +35,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_combine_placeholders()
test_output()
Original file line number Diff line number Diff line change
@@ -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
16 changes: 1 addition & 15 deletions learning/katas/python/Core Transforms/Combine/CombineFn/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -42,6 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_combine_placeholders()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -42,6 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_combine_placeholders()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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()
Original file line number Diff line number Diff line change
@@ -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
16 changes: 1 addition & 15 deletions learning/katas/python/Core Transforms/Flatten/Flatten/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -42,6 +30,4 @@ def test_output():

if __name__ == '__main__':
test_is_not_empty()
test_answer_placeholders_text_deleted()
test_flatten()
test_output()
Original file line number Diff line number Diff line change
@@ -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
Loading