Max Shytikov
a48f621bae
Updated _remove_headers to use latest Headers structure
...
Probably we need API in Request object like 'remove_header'
2014-05-02 07:32:17 +02:00
Max Shytikov
fbd5049d38
Updated test to use new Request constructor
2014-05-02 07:32:17 +02:00
Max Shytikov
7b253ebc6f
pep8
2014-05-02 07:32:17 +02:00
Max Shytikov
5d1f35973d
Make code 2.6 compatible
2014-05-02 07:32:17 +02:00
Max Shytikov
fbb6382c12
Added migration for Request headers to be a dict of lists
2014-05-02 07:32:17 +02:00
Max Shytikov
eab10578d5
Make Request headers to be a dict of lists
2014-05-02 07:32:15 +02:00
Max Shytikov
e4d1db0617
Removed frozenset
2014-04-30 02:38:01 +02:00
Max Shytikov
7e677f516d
Deleted unnecessary __hash__ method of Request
2014-04-30 02:36:27 +02:00
Max Shytikov
34ce0a35ec
Updated wild fixtures in correspondence with new fixture format
2014-04-30 02:36:27 +02:00
Max Shytikov
b6195bf41e
Updated migration fixtures in correspondence with new fixture format
2014-04-30 02:36:27 +02:00
Max Shytikov
eedafb19ee
Added more test for persist
2014-04-30 02:36:27 +02:00
Max Shytikov
434d6325ea
Udated migration test for yaml. replaced strict content comparision
...
What we care about it is actually data after loading not the
strict format of yaml file
2014-04-30 02:36:27 +02:00
Max Shytikov
25c0141e27
Updated migration script to use new yaml serialization
2014-04-30 02:36:26 +02:00
Max Shytikov
1e995c3c9b
Replaced yaml dump of Request object with plain dict dump
2014-04-30 02:36:26 +02:00
Max Shytikov
0408bdaadb
Added checkfor old cassette on load cassete to persist module
2014-04-30 02:36:26 +02:00
Max Shytikov
9c9612f93e
Fixed crazy/stupid implementation mistakes
2014-04-30 02:36:26 +02:00
Max Shytikov
a3eac1f0ec
Added tests for persist module
2014-04-30 02:36:26 +02:00
Max Shytikov
710ec6f432
Added "New Cassette Format" section to readme
2014-04-30 02:36:26 +02:00
Max Shytikov
9d8426e668
Make migration python 2.6 compatible
2014-04-30 02:36:26 +02:00
Max Shytikov
424c658da4
Fixed open tmp file in python3
2014-04-30 02:36:26 +02:00
Max Shytikov
f0972628ef
Fixed migration for one file
2014-04-30 02:36:26 +02:00
Max Shytikov
ee28768a31
Added migration script for old cassettes
2014-04-30 02:36:26 +02:00
Max Shytikov
5354ef781c
Formatted setup.py to make flake8 happy
2014-04-30 02:36:25 +02:00
Max Shytikov
750e141b9d
Added integration tests for matchers
2014-04-30 02:36:25 +02:00
Max Shytikov
a042cb3824
Updated README
2014-04-30 02:36:25 +02:00
Max Shytikov
96d8782d08
Added 'protocol' to Request for backwards compatibility
2014-04-30 02:31:11 +02:00
Max Shytikov
f9a64e1609
Fixed available matchers declaration
2014-04-30 02:31:11 +02:00
Max Shytikov
2fa1aaa1f7
Replaced 'url' mather with 'uri'.
2014-04-30 02:31:11 +02:00
Max Shytikov
7fe55ad8b8
Updated 'set' to be compatible with 2.6
2014-04-30 02:30:08 +02:00
Max Shytikov
2f6db0dc0c
Added scheme to default 'match_on'
2014-04-30 02:30:08 +02:00
Max Shytikov
4267828a3e
Added 'scheme' to Request with matcher and test
2014-04-30 02:29:25 +02:00
Max Shytikov
4e9d5f6885
Updated default 'match_on'
2014-04-30 02:29:25 +02:00
Max Shytikov
5015dbd878
Improved test samples
2014-04-30 02:27:52 +02:00
Max Shytikov
9b188e986f
Added query to Request with matcher and test
2014-04-30 02:27:52 +02:00
Max Shytikov
6b060e5666
Added path to Request with matcher and test
2014-04-30 02:27:52 +02:00
Max Shytikov
bd9fa773e8
Added port to Request with matcher and test
2014-04-30 02:27:52 +02:00
Max Shytikov
18ec57fa73
Added test and impl for Request 'host' attribute
2014-04-30 02:27:52 +02:00
Max Shytikov
6cca703eee
Refactored unit test for matchers
2014-04-30 02:27:52 +02:00
Max Shytikov
edf1df9188
Replaced Request 'host, port, protocol, path' with 'uri'
2014-04-30 02:27:52 +02:00
Max Shytikov
e0c6a8429d
Added integration test for match on 'url'
2014-04-30 02:27:51 +02:00
Max Shytikov
08d4d8913a
Added integration test for match on 'method'
2014-04-30 02:27:51 +02:00
Max Shytikov
792d665893
Added unit test for matcher 'url'
2014-04-30 02:27:51 +02:00
Max Shytikov
cd32f5114c
Added unit test for matcher 'method'
2014-04-30 02:27:51 +02:00
Max Shytikov
16c6135387
Removed 'serializer' from name of test functions
...
Because the name '_serializer_' has no relationships with this tests
2014-04-30 02:27:51 +02:00
Kevin McCarthy
5aa2fb017f
Add waffle badge
2014-04-27 12:05:19 -10:00
Kevin McCarthy
e6fdc735e4
Filter Sensitive Data From Requests
...
Add the ability to filter out sensitive data, using one of three
methods: from headers, from a query string, and by using a custom
callback to modify the request.
Closes #67
2014-04-27 11:38:28 -10:00
Kevin McCarthy
f317800cb7
Add Logging
...
This helps to figure out which matcher has decided your two cassettes
differ, and figure out when your cassettes have hit the network.
Closes #34
2014-04-27 11:29:06 -10:00
Kevin McCarthy
4302d7753e
clean up readme whitespace
2014-04-26 22:28:38 -10:00
Kevin McCarthy
58ac00a7f6
pep8
2014-04-26 21:30:43 -10:00
Kevin McCarthy
ab27c71a81
remove failing test since I'm not going to fix this use case
2014-04-26 18:49:40 -10:00