Commit Graph
447 Commits
Author SHA1 Message Date
Vincent Jacques c75cb64d90 Improve message when we check that we know all attributes 2012-05-12 15:43:38 +02:00
Vincent Jacques 1a20e048f2 Test attributes of Milestone 2012-05-12 15:42:02 +02:00
Vincent Jacques 6945921c52 Use NoCompletion when creating an object from the result of a request 2012-05-12 15:29:15 +02:00
Vincent Jacques a72d8b1358 Improve management of lazy completion 2012-05-12 15:28:07 +02:00
Vincent Jacques 350c7a3726 Remove repeated code 2012-05-12 15:00:23 +02:00
Vincent Jacques 71b0ede8de Remove complete-ability from git objects 2012-05-12 14:14:31 +02:00
Vincent Jacques 8956796e7f Be explicit about complete-ability 2012-05-12 14:12:03 +02:00
Vincent Jacques f23ed6341d Create a GitTreeElement class 2012-05-12 14:08:11 +02:00
Vincent Jacques 6ba5baad7e Test Repository.create_git_blob 2012-05-12 13:45:21 +02:00
Vincent Jacques dc1a8f8c9d Assert that we know all attributes
To be removed before release, since this would break the application if
github.com adds a new attribute
2012-05-12 13:20:32 +02:00
Vincent Jacques 5a943ad0b2 Test Organization attributes 2012-05-12 11:15:20 +02:00
Vincent Jacques 93007180f6 Remove useless code 2012-05-12 10:22:29 +02:00
Vincent Jacques d052371c15 Create a class Permissions 2012-05-10 20:39:48 +01:00
Vincent Jacques 2cd6dbce91 Test Repository.edit 2012-05-10 20:33:03 +01:00
Vincent Jacques 9cc24b0d3f Custom url for AuthenticatedUser 2012-05-10 20:25:09 +01:00
Vincent Jacques 7c4fc487c2 Test AuthenticatedUser.create_repo (requires manual edition of generated code) 2012-05-10 20:18:03 +01:00
Vincent Jacques 1a886afbd6 Reorganize test fixtures 2012-05-10 20:06:30 +01:00
Vincent Jacques 79ce878429 Test Repository.create_git_ref, GitRef.edit and .delete (needs a manual edition of Repository.py) 2012-05-10 19:52:52 +01:00
Vincent Jacques 71b8d5a3cc Re-order tests 2012-05-10 19:23:20 +01:00
Vincent Jacques 2e76c9b7c5 Test GitTag attributes 2012-05-10 19:22:33 +01:00
Vincent Jacques 5c18c20ec4 Change sys.path to import the development version in tests! 2012-05-10 19:07:28 +01:00
Vincent Jacques 4c4e551d39 Todo 2012-05-10 19:52:15 +02:00
Vincent Jacques 3c71195916 Test GitRef attributes 2012-05-10 19:47:20 +02:00
Vincent Jacques efa58887aa Test Branch and Commit attributes 2012-05-10 19:16:36 +02:00
Vincent Jacques a78d82212b Modularize integration tests 2012-05-10 18:36:14 +02:00
Vincent Jacques 283da5e7de Fix code generation and tests after reorganization 2012-05-10 18:26:18 +02:00
Vincent Jacques 595e88cd55 Rename new tests as only tests 2012-05-10 18:17:34 +02:00
Vincent Jacques d6efda1201 Remove old tests 2012-05-10 18:16:45 +02:00
Vincent Jacques d631e83b79 Move files around 2012-05-10 18:10:17 +02:00
Vincent Jacques cd68559b08 Separate asserts on type and assignments of values of attributes 2012-05-10 17:57:50 +02:00
Vincent Jacques 1292bf0e22 Remove completion functions from GitAuthor 2012-05-09 18:22:33 +02:00
Vincent Jacques b46ed0dfde More assertions 2012-05-09 18:21:01 +02:00
Vincent Jacques f14d761344 Structure some attributes 2012-05-09 18:20:44 +02:00
Vincent Jacques f23ad16aaa Add a GitAuthor class 2012-05-09 18:20:26 +02:00
Vincent Jacques 80b4e550f3 Test attributes of GitCommit 2012-05-09 18:20:08 +02:00
Vincent Jacques 954177f989 Re-order tests 2012-05-09 18:19:53 +02:00
Vincent Jacques 1612b7bcf7 Test GitBlob attributes 2012-05-09 18:19:31 +02:00
Vincent Jacques d4a6a3a344 Fix urls for git objects 2012-05-09 18:19:13 +02:00
Vincent Jacques ec389d6b62 Remove more code again 2012-05-09 18:18:53 +02:00
Vincent Jacques e1afa5aa3c Standardize detection of replay problems 2012-05-09 18:18:30 +02:00
Vincent Jacques d577b69152 Further simplify record mode 2012-05-09 18:17:53 +02:00
Vincent Jacques a03ff8d09e Explanation about a todo 2012-05-09 18:14:35 +02:00
Vincent Jacques 5e4cfeda7f Test attributes of GitTree (needs a manual change in url in Repository.get_git_tree) 2012-05-09 18:13:28 +02:00
Vincent Jacques 114db51fe7 Test attributes of Repository 2012-05-09 18:13:08 +02:00
Vincent Jacques c559faa680 Check types of received attributes 2012-05-09 18:12:30 +02:00
Vincent Jacques ead8fdd165 Use a small eval instead of a big exec 2012-05-08 21:46:41 +02:00
Vincent Jacques bc08112dce Do not try to __complete objects without url 2012-05-08 21:36:07 +02:00
Vincent Jacques 824b45490d Add a Plan class 2012-05-08 21:27:27 +02:00
Vincent Jacques 6565563412 Ensure that recorded calls are all replayed 2012-05-08 11:23:48 +01:00
Vincent Jacques 00904f3333 Cover AuthenticatedUser.edit 2012-05-08 11:16:30 +01:00