eranheres / ultra_type

0 stars 0 forks source link

Add unit tests for Language class #22

Closed sweep-mine[bot] closed 11 months ago

sweep-mine[bot] commented 11 months ago

Description

This pull request adds unit tests for the Language class to ensure its functionality is tested thoroughly.

Summary

Fixes #21.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-mine[bot] commented 11 months ago

Sandbox Executions

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_language
tests/test_language.py:40:1: E0001: Parsing failed: 'expected an indented block after class definition on line 36 (, line 40)' (syntax-error)

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_language
tests/test_language.py:54:142: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 54)' (syntax-error)

poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module tests.test_language
tests/test_language.py:42:32: E1120: No value for argument 'language' in constructor call (no-value-for-parameter)
tests/test_language.py:45:31: E1120: No value for argument 'language' in constructor call (no-value-for-parameter)
tests/test_language.py:60:19: E1120: No value for argument 'language' in constructor call (no-value-for-parameter)

poetry run pylint -E **/*.py 1/1 ✓
(nothing was outputted)

poetry run pylint -E **/*.py 1/1 ✓
(nothing was outputted)

poetry run pylint -E **/*.py 1/1 ✓
(nothing was outputted)

poetry run pylint -E **/*.py 1/1 ✓
(nothing was outputted)

sweep-mine[bot] commented 11 months ago

Apply Sweep Rules to your PR?

eranheres commented 11 months ago

testing failed. need to be fixed

sweep-mine[bot] commented 11 months ago

🚀 Wrote Changes

Done.