Skip to content

Rintt/python-challenge

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Emilia Hiring ๐Ÿ‘ฉโ€๐Ÿ’ป

Hi ๐Ÿ‘‹, I am Emilia!

Currently, our code is broken :/ Can you help me to fix it?

Challenge

The emilia.py contains a simple backend written in FastAPI, which does not pass our tests โŒ. The challenge is to make the tests pass without modifying the test_emilia.py file โœ”๏ธ!

Clone ๐Ÿ‘ฏ the repository and try to get the tests running in your local environment. If you manage to make all tests pass, we would love to interview you ๐Ÿ˜! Therefore, create a pull request, which triggers a GitHub action, verifying that you solved the challenge correctly ๐Ÿ†.

Setup

Install Python >3.9 and the dependencies with poetry:

poetry install

Start the application:

poetry run uvicorn emilia:app --reload

Open http://localhost:8080 in a webbrowser. Emilia will greet you and give you some initial information.

After you finish a task, try if it passes the test:

poetry run pytest -xsk task1

When you finished all tests, this should run without an error message:

poetry run pytest -m "not bonus"

Or, if you solved the bonus task:

poetry run pytest

Now you can go ahead and create a pull request!

About

Solve this challenge and get a job interview!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%