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
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
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
9d8084113d
add the test from the readme
2013-08-11 18:42:09 -10:00
Kevin McCarthy
d00c27e244
refactor tests a bit
2013-08-11 18:23:46 -10:00
Kevin McCarthy
a6c59c20d2
remove debugging code from Request and add repr
2013-08-11 17:51:33 -10:00
Kevin McCarthy
ce88331ebe
add test for redirects
2013-08-11 15:05:42 -10:00
Kevin McCarthy
f353a95af5
whats up with travis
2013-08-11 15:05:42 -10:00
Kevin McCarthy
ac862d5aff
update test_wild path
2013-08-11 15:05:42 -10:00
Kevin McCarthy
768b61316a
move wild into its own folder
2013-08-11 15:05:42 -10:00
Kevin McCarthy
a1229190f5
convert requests tests to pytest
2013-08-11 15:05:42 -10:00
Kevin McCarthy
c5294a09f7
convert tests to pytest
2013-08-11 15:05:41 -10:00
Kevin McCarthy
1a73334b50
update tests
2013-08-11 15:05:41 -10:00
Kevin McCarthy
87d27a7199
add requests class to sow the seeds of a custom matcher
2013-08-11 15:05:40 -10:00
Kevin McCarthy
fb2aa89445
replace cached() with mark_played / play_count
2013-08-11 15:05:40 -10:00
Kevin McCarthy
a8c4061352
fix typo
2013-08-11 15:05:40 -10:00
Kevin McCarthy
4fe6f463c3
remove fixtures, remove some dead httpbin assert code
2013-08-11 15:05:40 -10:00
Kevin McCarthy
7fedd8c584
remove typo
2013-08-11 15:05:40 -10:00
Kevin McCarthy
cbedb5818a
add unit tests
2013-08-11 15:05:39 -10:00