Nico von Geyso
2771c8a150
added assertAll and assertAny for test cases
2013-03-04 15:44:17 +01:00
J. David Ibáñez
29ce23c0d5
Update copyright
2013-03-02 12:16:16 +01:00
J. David Ibáñez
a96d494747
Coding style
...
Including:
- Lines longer than 79 chars
- Spaces at the end of line
- Wrong indentation
- Comma not followed by an space
- C++ style comments: //
2013-03-02 11:40:42 +01:00
Nico von Geyso
bc2bb9fc26
added assertRaisesAssign test function
2013-02-16 19:47:31 +01:00
Nico von Geyso
1bbb7b549f
Added empty test repository
2012-11-01 16:17:29 +01:00
J. David Ibáñez
edcd803e7e
Remove the __authors__ var from py files
2012-07-18 12:12:04 +02:00
J. David Ibáñez
6195491596
Add/update copyright header of each file
...
And update my email address.
2012-07-18 12:07:17 +02:00
Nico von Geyso
c04ba3ac2b
python3 compatibility
...
fixed unicode/byte string issues for python3
2012-05-15 11:24:03 +02:00
Nico von Geyso
632750565b
added tests for Repository.create_blob()
2012-05-11 14:03:35 +02:00
Yonggang Luo
a444cd1e1c
utils.py Use onerror deal with rmtree
2012-03-14 22:59:16 +01:00
J. David Ibáñez
e9e902e024
tests: add utility function 'oid_to_hex'
2012-02-27 00:12:33 +01:00
J. David Ibáñez
9064b8e038
Introduce the Signature object
2011-11-23 23:48:41 +01:00
J. David Ibáñez
af983b989a
tests: fixing issue #20
...
There were two problems:
- Windows refuses to remove a file that is in use. Solution, close
the repo before cleaning the temporary directory.
- Windows refuses to remove a read-only file. Solution, change mode
to writable.
2011-10-17 20:44:54 +02:00
J. David Ibáñez
f09a02a2ee
Use UTF-8 encoding in all Python files
2011-08-24 07:42:05 +02:00
J. David Ibáñez
7950ee1116
Use Python 3 string literals for the unit tests
...
Now unit tests are broken.
2011-08-13 22:48:23 +02:00
J. David Ibáñez
aaa3d533a8
Drop support for Python 2.5
...
It still compiles and probably works fine. But unit tests do not run and
official support for Python 2.5 has been dropped.
2011-08-13 22:05:43 +02:00
J. David Ibáñez
7b8ae0e10c
Python 3, now pygit2 builds
...
Tests do not yet pass.
2011-08-10 22:52:42 +02:00
Petr Viktorin
bfd20dc4b4
Somewhat better test coverage
...
- create_repository
- IndexEntry.path
- Correct SHAs in Index iteration
- Opening a bare index & attempting to add to it
- Walker.reset
- Walker.push
- Walker.sort
2011-08-08 23:42:01 +02:00
Julien Miotte
d313af21a0
Adding a DirtyRepoTestCase to be able to test Repository.status().
...
Also, adding a dirty repository in the data directory.
2011-07-27 18:39:12 +02:00
J. David Ibañez
83a78dac5f
Fix unit tests for Python 2.5
2011-02-09 16:30:15 +01:00
J. David Ibañez
f643037b79
Add unit tests for the index file
2011-02-08 18:22:09 +01:00
J. David Ibañez
fe1540f546
Add index test case for a non-bare repo
2011-02-07 13:28:39 +01:00
Dave Borowitz
520556e552
Add assertRaisesWithArg for better KeyError/IndexError testing.
...
Change-Id: Iadc9075e8e705579e4c0daf49fe7110db55e87c0
2010-11-12 13:28:48 -08:00
Dave Borowitz
a2b0f45368
Add simple repository tests.
...
Change-Id: I128ac826f1c673002bc6f17696691e5a4bd7f0fd
2010-11-12 13:19:57 -08:00