Przemyslaw Gajda
1e965c9d02
Changed project description.
2012-04-30 22:36:52 +02:00
Przemyslaw Gajda
e5bec16ee5
Author is not required - maintainer is enough
2012-04-29 01:06:12 +02:00
Przemyslaw Gajda
1e19d22370
Added tests to sdist
2012-04-29 01:03:09 +02:00
Przemyslaw Gajda
ea72ff8485
Applied some changes according to http://getpython3.com/diveintopython3/packaging.html
2012-04-29 00:56:00 +02:00
Przemyslaw Gajda
c0557d6f1a
Changed directory test to tests. Fixed travis config.
2012-04-26 23:10:02 +02:00
Przemyslaw Gajda
de3be03f55
Adjusted the structure of the mox3.
2012-04-26 23:05:48 +02:00
Przemyslaw Gajda
3075ab868b
Minor fixes + changes in metadata
2012-04-26 22:10:26 +02:00
Przemysław Gajda
0bc03f75ef
Update README
2012-04-25 01:56:37 +03:00
Dawid Fatyga
9e444c4ac7
Merge pull request #4 from quermit/fix_pep8_issues
...
Fixed pep8 issues
2012-04-24 15:50:10 -07:00
Przemyslaw Gajda
9a6e25a979
Fixed pep8 issues.
2012-04-25 00:30:19 +02:00
Przemysław Gajda
17bee3dab4
Merge pull request #3 from quermit/fix-callables-inconsistency
...
Full Python 3 compatibility
2012-04-24 14:49:42 -07:00
Dawid Fatyga
64a3cb2446
Added test for changed semantics in Python 3.
2012-04-24 23:41:02 +02:00
Dawid Fatyga
79af932dab
Added modification info.
2012-04-24 22:53:42 +02:00
Dawid Fatyga
09fd9fa353
Fixed isinstance check on instances of MockObject.
2012-04-24 22:53:00 +02:00
Dawid Fatyga
4bf088ce24
Fixed a bug when dir() called on MockObject was not returning attributes of a mocked class (Python3).
2012-04-24 22:22:38 +02:00
Dawid Fatyga
89f703dc85
Pep8's E111 error is now ignored.
2012-04-24 21:40:30 +02:00
Dawid Fatyga
23d643a360
Removed exclamation mark from travis.yml
2012-04-24 21:34:11 +02:00
Dawid Fatyga
3415baa2c7
Added pep8 to .travis.yml
2012-04-24 21:32:45 +02:00
Dawid Fatyga
3e5ffa1803
Fixed deprecation warnings in mox_test.py
2012-04-24 21:26:31 +02:00
Dawid Fatyga
958cb59b11
Introduced class to which mocks can be bound in order to preserve binding information (Python3 and missing unbound methods issue).
2012-04-24 21:18:28 +02:00
Przemyslaw Gajda
ec173d58f0
Added __hash__ for MockMethod - no default hash in py3k
2012-04-23 23:28:34 +02:00
Przemyslaw Gajda
7960a29252
bugfix for unhashable/uncomparable dicts
2012-04-23 23:22:26 +02:00
Przemyslaw Gajda
5575789612
Restored callable function since it's present in python 3.2
2012-04-23 22:54:44 +02:00
Przemyslaw Gajda
4adacddee3
Converted all classes to the new style (inheriting from object) - this is the only option in py3k.
2012-04-23 15:59:47 +02:00
Przemyslaw Gajda
79375ce4d5
Py3k always sets re.U flag, so the resulting regex.flags are equals to flags | re.U.
2012-04-23 10:21:50 +02:00
Przemyslaw Gajda
48a9b76403
Fixed all the simple compatiblity issues
2012-04-23 00:45:20 +02:00
Przemyslaw Gajda
7de1beb8c8
Fixed compatiblity issues in stubout
2012-04-23 00:13:21 +02:00
Przemyslaw Gajda
b13fe45f54
Merge branch 'master' of github.com:quermit/pymox
2012-04-23 00:06:45 +02:00
Przemyslaw Gajda
b42984e713
Fixed some of the compatiblity issues
2012-04-23 00:06:00 +02:00
Przemysław Gajda
8682113efe
info about modification
2012-04-23 00:48:51 +03:00
Przemyslaw Gajda
55a0e94c90
Added modification info
2012-04-22 23:44:40 +02:00
Przemyslaw Gajda
f25227371e
Enabled Travis CI
2012-04-22 23:29:26 +02:00
Przemyslaw Gajda
963eacdab1
Enabled Travis CI
2012-04-22 23:27:47 +02:00
Przemyslaw Gajda
618d7071bb
Another bugfix... Tests are still passing.
2012-04-22 23:01:29 +02:00
Przemyslaw Gajda
b823f3e8c4
Bugfix. At least I hope so...
2012-04-22 22:59:59 +02:00
Przemyslaw Gajda
2ca6a9b2c6
fixed indentation
2012-04-22 22:50:04 +02:00
Przemyslaw Gajda
9befc3dd9a
bugfix
2012-04-22 22:47:58 +02:00
Przemyslaw Gajda
c3b59f35cb
Added .gitignore
2012-04-22 22:44:36 +02:00
Przemyslaw Gajda
3becdfd4a0
Updated to version 0.5.3
2012-04-22 17:45:03 +02:00
smiddlek
e6127210cc
Numerous fixes from Google:
...
* Added warning the Mox is not thread-safe - Steve Middlekauff
* Fix bug in MultipleTimes group where if a Func is used it is called
unnecessarily, due to re-comparing to see if the group has been
satisfied - Steve Middlekauff
* Use difflib for exceptions - Matt Brown
* Add support for mocking iterators - Adam Nadolski
* Make __getitem__, __setitem__, and __iter__ work with subclasses of
new style clases - Antoine Picard
2009-09-11 19:57:51 +00:00
smiddlek
4b6782aa8c
Mox release 0.5.1, which includes some bug fixes and tests for stubout.
2009-05-05 23:22:21 +00:00
smiddlek
4378dee1ef
Fix for Issue 3, submitted by a...@therobots.org.
2009-05-05 22:54:33 +00:00
smiddlek
aeaefb3281
Fix for Issue 5, submitted by agoratim.
2009-03-20 17:03:34 +00:00
smiddlek
4ea08c31b9
Patch from Matt Brown (mdbrow@gmail.com) to inspect the arguments of mocked methods. Alright! :)
2008-11-12 19:01:43 +00:00
smiddlek
df7286a016
Added support for __contains__, thanks to Adam Lowry.
2008-10-24 00:51:29 +00:00
smiddlek
bf5da76c74
Added import for inspect, and tests for stubout. Patch by Manuel Holtgrewe.
...
A stubout_testee.py
A stubout_test.py
M stubout.py
2008-08-19 21:29:14 +00:00
smiddlek
f62e52639f
Remove duplicate NotTest. Bad patch.
2008-07-01 21:24:54 +00:00
smiddlek
807e7567d4
Add a Not comparator to compose with other comparators.
...
Patch by: Benoit Sigoure <benoits@google.com>
2008-07-01 20:47:46 +00:00
dglasser
5a84531d0e
Fix MoxTestBase to be usable with multiple-inheritance.
...
MoxTestBase was redefining setUp() but it didn't use super() to
call setUp recursively on the other parent classes defined in MRO.
Patch by: Benoit Sigoure <tsuna@lrde.epita.fr>
2008-07-01 01:43:55 +00:00
dglasser
6fcef3d03b
Write a README.
2008-06-18 23:30:15 +00:00