eranheres / ultra_type

0 stars 0 forks source link

sweep: add unit testing for controller.py #11

Closed eranheres closed 11 months ago

eranheres commented 11 months ago
Checklist - [ ] ``tests/test_controller.py`` ![11_flowchart.svg](https://raw.githubusercontent.com/eranheres/ultra_type/sweep/assets/607ab0c7fb73437c8dfde80a95f401ab44fbd52cb9ecaa37543af6ee07647c7f_11_flowchart.svg)
sweep-mine[bot] commented 11 months ago
Sweeping

50%
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: 3b96f17f27)

![Docker Version Updated](https://img.shields.io/badge/Docker%20Version%20Updated-22%20hours%20ago-blue)

Actions (click)

Sandbox Execution ✓

Here are the sandbox execution logs prior to making any changes:

Sandbox logs for 7e05b45
poetry run pytest 1/1 ✓
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-7.4.3, pluggy-1.3.0
rootdir: /repo
collected 1 item
tests/test_controller.py .                                               [100%]
============================== 1 passed in 0.02s ===============================

Sandbox passed on the latest main, so sandbox checks will be enabled for this issue.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/eranheres/ultra_type/blob/7e05b45ee1b4e41a7d24e39b268a6780bfcea7d8/tests/test_controller.py#L1-L2 https://github.com/eranheres/ultra_type/blob/7e05b45ee1b4e41a7d24e39b268a6780bfcea7d8/ultra_type/controller.py#L1-L32 https://github.com/eranheres/ultra_type/blob/7e05b45ee1b4e41a7d24e39b268a6780bfcea7d8/README.md#L1-L20 https://github.com/eranheres/ultra_type/blob/7e05b45ee1b4e41a7d24e39b268a6780bfcea7d8/ultra_type/main.py#L1-L11 https://github.com/eranheres/ultra_type/blob/7e05b45ee1b4e41a7d24e39b268a6780bfcea7d8/poetry.lock#L1-L100

Step 2: ⌨️ Coding


Step 3: 🔁 Code Review

Working on it...


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord