Commit Graph

6842 Commits

Author SHA1 Message Date
Thomas Kriechbaumer
673ed5b45e pathod: properly verify certificate in tests 2017-05-24 17:40:44 +02:00
Thomas Kriechbaumer
6214c6e185 fix openssl cipher_list bytes/str deprecation 2017-05-24 16:17:04 +02:00
Thomas Kriechbaumer
8b31f5c324 Merge pull request #2350 from Kriechi/improve-tests
fix various leaking fds/sockets
2017-05-24 14:53:45 +02:00
Thomas Kriechbaumer
e77f07a36b cleanup 2017-05-24 14:23:36 +02:00
Thomas Kriechbaumer
ae7e9efb5c fix various fd/socket leaks 2017-05-24 14:09:41 +02:00
Thomas Kriechbaumer
2faaa0b2a2 connections tests: fix leaking sockets 2017-05-24 13:21:58 +02:00
Thomas Kriechbaumer
928085c597 proxy tests: fix leaking sockets 2017-05-24 12:52:13 +02:00
Thomas Kriechbaumer
c9529ffe45 http1 tests: fix leaking sockets 2017-05-24 11:43:57 +02:00
Thomas Kriechbaumer
618044c637 http2 tests: fix leaking sockets 2017-05-24 11:43:50 +02:00
Thomas Kriechbaumer
c4f028d701 websocket tests: fix leaking sockets 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
485ac4aa32 fix array.{fromstring,tostring} deprecation warning 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
e82ed55516 close existing server_conn before replacing it 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
0bd3d0ff4c upgrade pytest and remove our pytest.raises wrapper 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
4961d782ed fix typo 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
b4f65049f2 auto-close file after reading 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
ba05a29fbb TCP IPv6: fix leaking sockets 2017-05-24 11:35:35 +02:00
Matthew Shao
653505e734 [web] Add tests for js/components/Header/FilterDocs.js 2017-05-23 19:06:57 +08:00
Maximilian Hils
1ca98c83aa Merge pull request #2347 from MatthewShao/jest-dev
[web] Add tests for js/components/FlowTable
2017-05-22 18:49:32 +02:00
Matthew Shao
8b5160ce58 [web] Add tests for js/components/FlowTable/FlowTableHead.js 2017-05-22 21:32:08 +08:00
Matthew Shao
ab564ea5fd [web] Add tests for js/components/FlowTable/FlowRow.js 2017-05-22 21:26:27 +08:00
Maximilian Hils
2222f0b65a Merge pull request #2191 from LuD1161/Issue#2139
improve flow_detail help text
2017-05-22 12:06:07 +02:00
Maximilian Hils
5626c384ab Merge pull request #2342 from MatthewShao/jest-dev
[web] Add  _flow.js for component tests.
2017-05-22 10:00:35 +02:00
Matthew Shao
546bac68d4 [web] Fix 100% coverage for js/components/FlowTable/FlowColumns.js 2017-05-22 10:46:03 +08:00
Matthew Shao
2935ff5f3a [web] Set some value as constant, so _tflow.js would not change. 2017-05-22 08:53:59 +08:00
Matthew Shao
2c38fddea5 [web] TFlow minor improved. 2017-05-21 20:59:19 +08:00
Thomas Kriechbaumer
79100593c2 Update options.py 2017-05-19 12:12:40 +08:00
Thomas Kriechbaumer
af0ad49434 disable double requires-io-master CI builds 2017-05-19 11:58:54 +08:00
Matthew Shao
55a58c4c6f [web] Add js/__tests__/ducks/_tflow.js 2017-05-19 10:17:06 +08:00
Matthew Shao
369e1f1eee [web] Fix minior lint problem. 2017-05-19 09:56:52 +08:00
Matthew Shao
5df0ddf358 [web] Updates test to use the new _tflow.js. 2017-05-19 09:50:12 +08:00
Matthew Shao
50c0703424 [web] Add _tflow.js generator in test_app.py 2017-05-19 09:45:30 +08:00
Maximilian Hils
a9e002af18 Merge pull request #2337 from MatthewShao/jest-dev
[WIP][web] Add tests for UI components
2017-05-18 13:05:15 +02:00
Maximilian Hils
4b1cd76f3e [requires.io] dependency update (#2328) 2017-05-18 16:59:08 +08:00
Matthew Shao
4e4be8bd68 [web] Update snapshot. 2017-05-18 11:14:26 +08:00
Matthew Shao
d902b851c8 [web] Minor fixes for component tests. 2017-05-18 10:42:06 +08:00
Ujjwal Verma
5833b218b2 Increase net.tcp.py coverage (#2336) 2017-05-17 23:27:57 +08:00
Matthew Shao
d290be2327 [web] Add tests for js/components/FlowTable/FlowColumnsSpec.js 2017-05-17 22:33:29 +08:00
Matthew Shao
22a1709c8b [web] Add a TFlow class to js/ducks/tutils.js
Many Components requires a flow object when being rendered, so we put a TFlow
class here, currently has the minimize structure, only contains the
attributes we needed in the components to be tested.
2017-05-17 22:27:20 +08:00
Thomas Kriechbaumer
feff5bd138 Merge pull request #2338 from ujjwal96/test-cov
Increased test coverage
2017-05-17 15:12:36 +08:00
Ujjwal Verma
208931021e Updated setup.cfg 2017-05-17 11:26:18 +05:30
Ujjwal Verma
37053f0efc Increased mitmproxy.controller coverage 2017-05-17 11:06:40 +05:30
Ujjwal Verma
204d06f93f Increased xml_html contentview coverage 2017-05-17 11:05:49 +05:30
Ujjwal Verma
8eea05fcaf Increase contentviews api coverage 2017-05-17 11:04:43 +05:30
Thomas Kriechbaumer
ca46b1e340 alpn_select_callback must be a callable 2017-05-17 10:38:31 +08:00
Thomas Kriechbaumer
3fadda2bba fix pragmas 2017-05-17 10:33:35 +08:00
Matthew Shao
204dea4a2e [web] Add tests for src/js/components/ValueEditor/ValueEditor.js 2017-05-16 23:03:03 +08:00
Thomas Kriechbaumer
dd3067ab6e Merge pull request #2335 from cortesi/shutdown
net.tcp: server should be in shut-down state before start
2017-05-16 20:44:24 +08:00
Matthew Shao
d63e01d48d [web] Add tests for js/components/ValueEditor/ValidateEditor.js 2017-05-16 18:00:14 +08:00
Maximilian Hils
69c5a0b699 Merge pull request #2327 from MatthewShao/jest-dev
[WIP][web] Add tests for UI components
2017-05-15 13:22:29 +02:00
Matthew Shao
c327ae853c [web] Add tests for js/components/helpers/AutoScroll.js 2017-05-15 17:55:06 +08:00