Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Google Log Puzzle Challenge #344

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

its-ChaTTy
Copy link
Contributor

Summary

Created chapter for Google Log Puzzle Challenge both in English & Spanish. Also added Unit test for the same, for auto evaluation. Closes issue #249.

Checklist

  • Variables, functions and comments are translated to Spanish
  • Functions follow underscore notation
  • Spell check done & typos fixed
  • All python code is PEP8 compliant
  • Test coverage with Playwright implemented; locators are Pyhton code
  • Reviewers assigned (all peers & at least 1 mentor)

Screenshots

image
image

Copy link


def testOne(self):
answerAnimal= ['http://languages/edu/languages/google-python-class/images/puzzle/a-baaa.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baab.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baac.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baad.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baae.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baaf.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baag.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baah.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baai.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baaj.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baba.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babb.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babc.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babd.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babe.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babf.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babg.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babh.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babi.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babj.jpg']
self.assertEqual(answerAnimal, img_urls)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no appropriate error message

Copy link
Contributor Author

@its-ChaTTy its-ChaTTy Mar 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no appropriate error message

Thanks for pointing that out, would have missed it. I have added the Test Note now.


def testOne(self):
answerAnimal= ['http://languages/edu/languages/google-python-class/images/puzzle/a-baaa.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baab.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baac.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baad.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baae.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baaf.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baag.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baah.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baai.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baaj.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-baba.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babb.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babc.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babd.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babe.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babf.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babg.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babh.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babi.jpg', 'http://languages/edu/languages/google-python-class/images/puzzle/a-babj.jpg']
self.assertEqual(answerAnimal, img_urls)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no appropriate error message

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants