TESTS: Add access control simple filter tests#7882
TESTS: Add access control simple filter tests#7882andreboscatto wants to merge 1 commit intoSSSD:masterfrom
Conversation
268a984 to
d42792e
Compare
|
|
@danlavu to achieve what you suggest using loops to create users and not having problems afterwards, there are a few ways (I have my opinions about that) but I'll list the options I currently know and we can explore it.
My opinions:
Why am I bringing all of that? There are errors during the build (https://github.com/SSSD/sssd/actions/runs/13910267393/job/38922743602?pr=7882) |
We do something like this, to ensure the object is of the correct type, we assert that the result is not None. |
|
I understand you have a human way to avoid potential errors. I am talking about a "coding" level (https://mypy.readthedocs.io/en/latest/error_code_list.html#code-assignment). The code checker will evaluate if all the arguments fit the proper notation, thus my proposals. |
|
Ahhhh I see! It is still complaining to me at least:
|
|
Tomorrow during our 1 on 1, remind me, we will go through the lint errors and ci failures. |
750c227 to
610caf8
Compare
b587b5e to
7c6f985
Compare
danlavu
left a comment
There was a problem hiding this comment.
Just the titles, other than that, LG2M, thank you Andre.
7c6f985 to
9839f07
Compare
|
I asked to review again because I'm not familiar with the process... a LG2M is sufficient or do you need to "confirm" with the button? |
|
And thank you for all the support and patience with me through this learning process :) I hope the others will go faster after this learning curve. |
pbrezina
left a comment
There was a problem hiding this comment.
Ack. I left some suggestions, but its up to you if you want to change it or not. Let me know and I'll set the "approve" flag.
c357249 to
80fdd42
Compare
0a49513 to
a4b7169
Compare
461c192 to
f656fac
Compare
danlavu
left a comment
There was a problem hiding this comment.
This is great, thank you @andreboscatto
|
@andreboscatto, please rebase. |
Added 4 tests for access control simple filter using the new testing framework
f656fac to
d1f42a1
Compare
Added 4 tests for access control simple filter using the new testing framework