-
Notifications
You must be signed in to change notification settings - Fork 94
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
538: Add dispatch test. #549
538: Add dispatch test. #549
Conversation
8ce5e11
to
079b539
Compare
079b539
to
6495e36
Compare
おっしゃるとおりで、submission/problemや他のサービスにも拡大するつもりですが、一旦この状態でいい感じか見せようとしてました。 サービスのカバレッジも上がるので、数値だけで言えば全サービスのテストをした方がいいです。 |
そういうことならよさそうです。 |
6495e36
to
69ffa57
Compare
@@ -1256,3 +1256,4 @@ def _from_table_row(cls, tr: bs4.Tag) -> 'AtCoderSubmissionTestCaseResult': | |||
onlinejudge.dispatch.services += [AtCoderService] | |||
onlinejudge.dispatch.problems += [AtCoderProblem] | |||
onlinejudge.dispatch.submissions += [AtCoderSubmission] | |||
onlinejudge.dispatch.contests += [AtCoderContest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AtCoderContestがdispatchできてなかったことに気づきました。
dispatchはうまく使うと、unittestの粒度上げるのに使えそうですね。内部の可視性が上がったと言いますか。
→7.3.0のリリースの後にマージしましょうか。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(7.3.0 はバグ修正がメインですし、これもついでに入れてしまいたい気がする? どちらでもよいですが) |
ですよね!gitter見てぶれましたが、初志貫徹で行きます。 |
No description provided.