Marc Abramowitz
5ba4000f77
Add test: test_session_and_connection_close
...
This is a test for issue GH-48.
2013-11-26 12:07:13 -08:00
Kevin McCarthy
a4844d972b
Version Bump to 0.4.0
v0.4.0
2013-11-10 12:37:54 -10:00
Kevin McCarthy
c2d857c585
Remove Secure File Overwrite Support
...
Closes #42
2013-11-10 12:25:59 -10:00
Kevin McCarthy
89403c255c
Record Multiple Matching Requests
...
This change allows us to record multiple matching requests to
the same URL, and then play them back sequentially.
Closes #40 , #41
2013-11-10 12:17:39 -10:00
Veros Kaplan
d50ded68ca
Added test: accessing same recource three times in once mode
2013-11-10 10:54:09 -10:00
Veros Kaplan
16fa4f851d
Added test: accessing two times same page
2013-11-10 10:54:09 -10:00
Kevin McCarthy
6200493896
Remove Some stray \t characters
...
I guess that's what I get for playing around with my vimrc.
Thanks to @bryanhelmig for pointing these out.
2013-11-09 17:52:02 -10:00
Kevin McCarthy
b0a13ba690
Fix Requests so it can gunzip the request body
...
I wasn't emulating the stateful file-object in my response stub,
so urllib3 wasn't decompressing gzipped bodies properly. This
should fix that problem.
Thanks @bryanhelmig for the motivation to dig into this.
2013-11-09 17:51:29 -10:00
Kevin McCarthy
d33b19b5bb
Fix Requests 2, Version Bump to 0.3.5
...
This fixes a compatiblity issue with the new version of requests.
Bumps the release version to 0.3.5, and closes #39 .
v0.3.5
2013-10-24 21:57:18 -10:00
Kevin McCarthy
2275749eaa
bump for version 0.3.4
v0.3.4
2013-10-24 19:56:36 -10:00
smallcode
16fbe40d87
Update filesystem.py
...
fix WindowsError: [Error 32].
because must close the file before rename the file in window system.
2013-10-22 17:41:56 +08:00
Kevin McCarthy
deed8cab97
Fix issue #36 - error message for unregistered matcher was broken
2013-09-29 15:56:50 -10:00
Kevin McCarthy
cf8646d8d6
Bump version for bugfix release
2013-09-21 16:52:09 -10:00
Hector Dearman
c03459e582
allow match_on to be passed as an argument VCR
2013-09-21 16:52:09 -10:00
Kevin McCarthy
912452e863
Only use the relative path in HTTP requests
...
This causes a pretty big problem on out-of-spec HTTP servers (like
Flickr). Closes #31
v0.3.1
2013-09-17 13:19:26 -10:00
Kevin McCarthy
ce3d7270ea
Update README.md
v0.3.0
2013-09-16 20:56:16 -10:00
Kevin McCarthy
39d696bc49
Update README.md
2013-09-16 20:54:27 -10:00
Kevin McCarthy
ce94fd72fd
bump development status to Beta
2013-09-16 20:52:38 -10:00
Kevin McCarthy
a66f462dcd
Add support for custom request matchers
...
This commit not only changes the default method of matching requests
(just match on method and URI instead of the entire request + headers)
but also allows the user to add custom matchers.
2013-09-16 20:46:00 -10:00
Kevin McCarthy
03c22d79dd
Add support for configurable record modes
...
This support will let you select one of four different behaviors
for VCR's cassettes. Closes #23
2013-09-15 18:43:02 -10:00
Kevin McCarthy
5ce67dc023
Add support for calling httplib.send().
...
This commit changes the whole core internal flow of requests.
Now, requests are actually physically made lazily when a response
is requested. This allows the entire request to be sent at once.
Otherwise, it would be impossible to compare whether requests have
already been recorded, since httplib.send() allows you to effectively
stream requests over HTTP.
2013-09-15 18:43:02 -10:00
Kevin McCarthy
07774ae6dd
Add new subdirectories in setup.py. Closes #26 . Bumps version
v0.2.1
2013-08-30 08:01:54 -10:00
Kevin McCarthy
e1c7eb1ec5
Update README.md
v0.2.0
2013-08-24 08:09:51 -10:00
Kevin McCarthy
7f958246e0
Update README.md
2013-08-23 21:41:52 -10:00
Kevin McCarthy
c8299103fb
pep8 fixes
2013-08-23 20:35:43 -10:00
Kevin McCarthy
98603541d6
Update README and bump version
2013-08-23 20:35:42 -10:00
Kevin McCarthy
6b8d4643e8
Fix intermittent test failure due to http happening too fast
2013-08-23 20:35:42 -10:00
shu zOMG chen
b55834e929
Don't save cassette when it hasn't been modified
2013-08-23 20:35:42 -10:00
Kevin McCarthy
7264780960
remove unused cassette in with statement
2013-08-22 19:18:58 -10:00
Kevin McCarthy
0f2695f240
add tests for registering serializer
2013-08-22 19:18:58 -10:00
Kevin McCarthy
65254b4969
change serializer API so it doesn't have to do file stuff
2013-08-22 19:18:58 -10:00
Kevin McCarthy
6005420409
Let's do an instance/module-based API for serializers
2013-08-22 17:39:52 -10:00
shu zOMG chen
c5eca93edc
Added test to confirm whether cStringIO works
2013-08-22 17:31:57 -10:00
Kevin McCarthy
b688dd362d
test cassette library dir
2013-08-19 19:49:06 -10:00
Kevin McCarthy
28379e9000
start adding config tests
2013-08-19 19:49:06 -10:00
Kevin McCarthy
b7af8bae71
keep yaml as default cassette serializer to fix unit tests
2013-08-19 19:49:06 -10:00
Kevin McCarthy
7a4c11bf94
clarify the readme a bit
2013-08-19 19:49:06 -10:00
Kevin McCarthy
1478ce82fd
make config options actually do stuff
2013-08-19 19:49:06 -10:00
Kevin McCarthy
9073cf137e
add note to readme
2013-08-19 19:49:06 -10:00
Kevin McCarthy
53f5cd24d6
Begin work on implementing configuration interface
2013-08-19 19:49:05 -10:00
Kevin McCarthy
cf744dca00
document configuration stuffs
2013-08-19 19:49:05 -10:00
shu zOMG chen
51f0f1bacd
Adding json serializer
2013-08-19 19:49:05 -10:00
Kevin McCarthy
3e247a2efb
remove errant print statements
2013-08-19 19:34:38 -10:00
Kevin McCarthy
762b761d0c
remove unused test file
2013-08-19 19:26:56 -10:00
Kevin McCarthy
348cc8fdfe
Fix Google test Failure
...
Let's not use Google to test redirects since it changes depending on your
geographic location. I changed the test to use httpbin.org, since
a lot of our tests already depend on httpbin.org anyway.
Somedays, I'd like to implement my own local mock HTTP server I
can do asserts against. The test suite would just start it up,
and the server would record the requests, which I could then
retrieve and compare.
Closes #21
2013-08-18 12:09:18 -10:00
Kevin McCarthy
4894cb7e22
update readme
v0.1.0
2013-08-11 19:01:28 -10:00
Kevin McCarthy
e603b9d26d
update readme
2013-08-11 18:59:36 -10:00
Kevin McCarthy
8c85048061
update readme
2013-08-11 18:57:28 -10:00
Kevin McCarthy
ba6e43e262
update readme
2013-08-11 18:53:22 -10:00
Kevin McCarthy
9f4ae7b36f
update readme
2013-08-11 18:51:29 -10:00