361: Implemented crud.Add.get_options() method; added corresponding unit tests

This commit is contained in:
Jason Gerard DeRose
2008-09-25 02:13:16 +00:00
parent 9f704e001d
commit 023f612921
4 changed files with 37 additions and 5 deletions

View File

@@ -25,7 +25,9 @@ import frontend, errors
class Add(frontend.Method):
pass
def get_options(self):
assert 'params' in self.obj, list(self.obj)
return self.obj.params()
class Get(frontend.Method):