Skip to content

Add TestSocket as individual file #3379

Merged
gpotter2 merged 25 commits intosecdev:masterfrom
polybassa:add-testsocket
Oct 19, 2021
Merged

Add TestSocket as individual file #3379
gpotter2 merged 25 commits intosecdev:masterfrom
polybassa:add-testsocket

Conversation

@polybassa
Copy link
Copy Markdown
Contributor

@polybassa polybassa commented Sep 29, 2021

And remove the execution of interface_mockup from various unit tests
This makes the tests cleaner and excludes any interference's because of the code previously executed in interface_mockup. Also the TestSocket is typed.

@polybassa polybassa closed this Sep 29, 2021
@polybassa polybassa reopened this Sep 29, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 29, 2021

Codecov Report

Merging #3379 (aab7d2d) into master (602c370) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3379      +/-   ##
==========================================
- Coverage   85.96%   85.93%   -0.03%     
==========================================
  Files         275      275              
  Lines       56824    56824              
==========================================
- Hits        48849    48833      -16     
- Misses       7975     7991      +16     
Impacted Files Coverage Δ
scapy/contrib/automotive/uds.py 93.60% <0.00%> (-2.91%) ⬇️
scapy/arch/libpcap.py 68.51% <0.00%> (-1.04%) ⬇️
scapy/arch/windows/__init__.py 67.73% <0.00%> (-0.57%) ⬇️
scapy/supersocket.py 58.78% <0.00%> (-0.31%) ⬇️
scapy/sendrecv.py 85.00% <0.00%> (-0.16%) ⬇️
scapy/fields.py 91.53% <0.00%> (+0.05%) ⬆️
scapy/layers/ntp.py 84.86% <0.00%> (+0.27%) ⬆️

@polybassa
Copy link
Copy Markdown
Contributor Author

If possible, can this PR get merged soon?

@polybassa
Copy link
Copy Markdown
Contributor Author

Can this PR get merged?

guedou
guedou previously approved these changes Oct 5, 2021
@polybassa
Copy link
Copy Markdown
Contributor Author

polybassa commented Oct 5, 2021 via email

@polybassa
Copy link
Copy Markdown
Contributor Author

@gpotter2 @guedou Can this PR get merged, please.

guedou
guedou previously approved these changes Oct 11, 2021
@polybassa polybassa closed this Oct 11, 2021
@polybassa polybassa reopened this Oct 11, 2021
@polybassa
Copy link
Copy Markdown
Contributor Author

polybassa commented Oct 19, 2021 via email

@gpotter2 gpotter2 added this to the 2.5.0 milestone Mar 29, 2022
bzalkilani pushed a commit to bzalkilani/scapy that referenced this pull request Jun 12, 2022
* Add TestSocket as individual file and remove the execution of interface_mockup from various unit tests

* add contrib module description

* add import to isotp_soft_socket.uts

* add testsocket unit test

* increase timeouts

* add print

* execute testsocket tests first

* add debug code

* add further test

* simplify test

* Bugfix in sendrecv

* debug CAN layer unit test

* try fix of can.uts

* cleanup

* increase timeouts

* increase timeouts

* cleanup

* fix test

* moved testsocket into /test/

* fix tox

* add __init__.py

* fix gmlanutils

* applied feedback

* fix testsocket

* add timeout to join()
@polybassa polybassa deleted the add-testsocket branch July 27, 2022 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants