Add unittest for anydo.error, anydo.lib.error.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Change owner_id, def_category_id to class method.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Remove unnecessary module importing.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Change mock to httpretty for mock test.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Add unittest for anydo.api.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Compatible unittest for Python2.6.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Merge pull request #25 from mkouhei/refactoring

Refactoring