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

Fix migration script by an ugly hack and improve test #6

Merged
merged 1 commit into from Dec 28, 2020

Conversation

zstyblik
Copy link
Owner

@zstyblik zstyblik commented Dec 28, 2020

Despite good intentions previous version of migration didn't and won't
work. Also, unit test wasn't good enough to catch this issue.

Therefore, I've applied an ugly hack, because I don't know how else to
solve this(no, I'm not going to create __init__.py anywhere just because
of this) and written new unit test(there were couple versions at couple
different places as debugging was moving from one place to another)
which of course was failing with Traceback observed "in production".

Issue was a minor one since it could be solved by temporarily importing
rss2irc where needed.

Despite good intentions previous version of migration didn't and won't
work. Also, unit test wasn't good enough to catch this issue.

Therefore, I've applied an ugly hack, because I don't know how else to
solve this(no, I'm not going to create __init__.py anywhere just because
of this) and written new unit test(there were couple versions at couple
different places as debugging was moving from one place to another)
which of course was failing with Traceback observed "in production".

Issue was a minor one since it could be solved by temporarily importing
rss2irc where needed.
@zstyblik zstyblik merged commit 5fbe527 into master Dec 28, 2020
@zstyblik zstyblik deleted the fix_dataclass branch December 28, 2020 20:45
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.

None yet

1 participant