redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Updates to support Fedora #134

Closed spoore1 closed 3 months ago

spoore1 commented 4 months ago

controller.py:

setup.py:

Jakuje commented 4 months ago

Technically looks good to me. Again, I would wait for George to make sure this works, but I do not expect any hiccups.

One note is the linter warning that might make sense to address:

SCAutolib/models/gui.py:397:43: W292 no newline at end of file

spoore1 commented 4 months ago

Technically looks good to me. Again, I would wait for George to make sure this works, but I do not expect any hiccups.

One note is the linter warning that might make sense to address:

SCAutolib/models/gui.py:397:43: W292 no newline at end of file

@Jakuje thanks for the review.

I think I fixed the linter issue and I added the check_home_screen function. Was that in place when you approved? or do you want to take another look at that?

GeorgePantelakis commented 4 months ago

I have tested the changes (+ the nitpicks) on Fedora 39 and Fedora 38 and the tests are passing. I haven't tested all the tests but the most important ones are ok. If some tweaks are needed we can do them later if necessary.

GeorgePantelakis commented 4 months ago

Run the tests again and they pass on f39 and f38 with the changes (except for the lock_on_removal one which is expected after the mail discussion). I think we can merge @spoore1 if you are finished.

GeorgePantelakis commented 3 months ago

Hello @spoore1, have you done with this PR? I remember you said that you wanted to add some more code but I do not see any movement so perhaps I was mistaken.

spoore1 commented 3 months ago

Hi @GeorgePantelakis sorry about the delay.

I was investigating using kb_send(125) to send the Super/Windows key press for a fix to some of the lock-on-removal failures after unlock. I see more issues though as I dig into the lock-on-removal tests so I think that we can call this PR done for now. I may have other changes for my SC-tests one but I think this one is done.

GeorgePantelakis commented 3 months ago

Hello @spoore1,

Since this PR is considered done and intertwined with the SC-tests PR, I will go ahead and merge both of them. There is no new code added and the old code has been tested already. Feel free to create a new PR for both projects as needed. Thank you very much for your contribution!