-
Notifications
You must be signed in to change notification settings - Fork 2
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
#207 Context classes #212
#207 Context classes #212
Conversation
97ea236
to
bce9ffd
Compare
bce9ffd
to
cba2594
Compare
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.
one fix for pdd task body
catalog/newcontext/__init__.py
Outdated
@@ -1 +1,2 @@ | |||
# @todo #183:120m Implement Page, PaginatedProducts, ProductBrands, ProductsImages context classes. | |||
# @todo #183:120m Implement Page, PaginatedProducts context classes. |
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.
#183
-> #207
@@ -0,0 +1,62 @@ | |||
import unittest |
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.
in this tests we don't document=test contexts functionality, but it's inner (and temporary because of it) realization.
I think, that tests should be based on in/out interfaces, but not on inner calls.
But maybe it's about taste and my school
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.
@duker33 I agree with the point, but unfortunately we still haven't Tag
fixtures, so i have to either use mocked objects or create tags at a place of use. I don't like both of these approaches, but right now mocked objects look better.
But maybe it's about taste and my school
It is rather about a difference between the black box testing and the white box testing
949d2f2
to
c17daf1
Compare
Closes #207