-
Notifications
You must be signed in to change notification settings - Fork 249
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
tests: housekeeping - netgroups #7491
Conversation
I'll review this once #7490 is merged, to avoid multiple iterations. |
96219cf
to
c0d7d0d
Compare
cf79fdf
to
e74abf2
Compare
295d0a2
to
835f99c
Compare
@danlavu, please rebase/resolve conflict. |
housekeeping, the following is looked at and may have been done: * fixed typos and standardized formatting * renamed test cases to improve the clarity of what the test does * improved docstring language, setup, steps and expected results * synced code with the docstring order * removed necessary configuration relevant to the test * added pytest.mark.importance to test cases * added error messages to assertions noteable changes: * moved netgroup tests to the the cache tests file, it tests the cache for netgroup objects
835f99c
to
b454510
Compare
Hi Dan, the three changes to test_cache.py that just adds the importance marker should go in separate commit since they have nothing in common with netgroups. I personally don't like the idea of adding everything into test_cache.py. SSSD's primary function is to cache stuff, therefore this file will grow too much over the time. I think it makes perfect sense to split it into objects own modules like test_netgroup.py. |
@pbrezina this was an oversight on my part. There is another netgroup test in cache and I thought these were those. Where it specifically looked in the ldb cache for the netgroup object. |
housekeeping, the following is looked at and may have been done:
noteable changes:
for netgroup objects