Commit Graph

11 Commits

Author SHA1 Message Date
Zack Cerza
14015af475 Move exception into a new exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-07 11:13:42 -06:00
Zack Cerza
29c06f00d9 Add and use new fetch() method
The old fetch_branch() wasn't behaving properly with the ceph.com git
mirror. This method works with github.com and ceph.com. Add a couple
unit tests, and leave the old fetch_branch() in place for now, even
though nothing uses it.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-15 12:02:32 -06:00
Zack Cerza
63fd33e4c1 Add another unit test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:17:37 -06:00
Zack Cerza
71182fd86b Allow testing with online repos
It is not the default.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 10:19:25 -06:00
Zack Cerza
cb7fdfb73f Add a unit test simulating simultaneous checkouts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 10:08:48 -06:00
Zack Cerza
42a73500c0 Use a test-specific name/email for the git calls
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-01 10:56:41 -06:00
Zack Cerza
d6f1752897 Add more unit tests
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-01 10:42:16 -06:00
Zack Cerza
e431abd4aa Add a basic validation of the branch value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-30 17:40:54 -06:00
Zack Cerza
bfd8226142 Run unit tests offline
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-30 17:23:20 -06:00
Zack Cerza
5a61f449d1 Split up repo helper into separate functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-30 10:10:31 -06:00
Zack Cerza
abd359086c Add unit tests for repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-27 10:14:07 -06:00