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

Рефакторинг #141

Merged
merged 7 commits into from
May 14, 2024
Merged

Рефакторинг #141

merged 7 commits into from
May 14, 2024

Conversation

KubEF
Copy link
Collaborator

@KubEF KubEF commented May 5, 2024

No description provided.

@KubEF KubEF requested review from WoWaster and gsvgit May 5, 2024 16:14
Copy link
Collaborator

@WoWaster WoWaster left a comment

Choose a reason for hiding this comment

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

Круто! Тесты к CFPQ теперь выглядят вообще мило

tests/autotests/constants.py Outdated Show resolved Hide resolved
tests/autotests/constants.py Outdated Show resolved Hide resolved
tests/autotests/constants.py Outdated Show resolved Hide resolved
tests/autotests/helper.py Show resolved Hide resolved
tests/autotests/rpq_template_test.py Outdated Show resolved Hide resolved
tests/autotests/rpq_template_test.py Outdated Show resolved Hide resolved
tests/autotests/test_task4.py Show resolved Hide resolved
@WoWaster
Copy link
Collaborator

WoWaster commented May 5, 2024

Я правильно понимаю, что у нас здесь правки, которые не должны ничего сломать и их можно будет влить до экзамена?

@KubEF
Copy link
Collaborator Author

KubEF commented May 5, 2024

Я правильно понимаю, что у нас здесь правки, которые не должны ничего сломать и их можно будет влить до экзамена?

Угу. По крайней мере у меня всё локально работало исправно

tests/autotests/fixtures.py Show resolved Hide resolved
tests/autotests/grammars_constants.py Outdated Show resolved Hide resolved
@gsvgit
Copy link
Member

gsvgit commented May 7, 2024

И раз уж пошло такое дело, то надо issues пересмотреть.

@KubEF KubEF requested review from gsvgit and WoWaster May 9, 2024 19:24
Copy link
Member

@gsvgit gsvgit left a comment

Choose a reason for hiding this comment

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

Ну и конфликты порешать.

tests/autotests/grammars_constants.py Show resolved Hide resolved
@pytest.fixture(scope="function", params=range(8))
def graph(request) -> MultiDiGraph:
fun = random.choice(funcs)
# task 6 takes a long time if there are ranges [1, 100]
Copy link
Member

Choose a reason for hiding this comment

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

Интересно, почему. По идее, 100 вершин --- ерунда.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Зафиксировал в #144

tests/autotests/test_task2.py Show resolved Hide resolved
Copy link
Collaborator

@WoWaster WoWaster left a comment

Choose a reason for hiding this comment

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

Два мелких вопроса, в остальном супер

tests/autotests/rpq_template_test.py Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

Совсем мелкая претензия: это уже просто template_tests.py или что-то в этом духе :)

@WoWaster WoWaster marked this pull request as ready for review May 12, 2024 15:37
@gsvgit gsvgit merged commit 0ece1b2 into main May 14, 2024
2 checks passed
@WoWaster WoWaster deleted the refactoring branch May 16, 2024 12:32
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.

3 participants