Changeset 812
- Timestamp:
- 11/11/08 12:50:53 (8 weeks ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
htsql_client/htsql_client.py (modified) (1 diff)
-
test/test_client.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htsql_client/htsql_client.py
r730 r812 422 422 None, filter, perspective)) 423 423 424 def interact(self, table, data, perspective=None, content_type='text/csv'): 425 return self.execute(build_request('interact().js', 426 table, None, None, 427 None, None, perspective), 428 data, {'Content-Type': content_type}) 429 424 430 def upload(self, table, locator, columns, filenames, perspective=None): 425 431 # TODO: please document this... in particular, the logic -
trunk/test/test_client.py
r636 r812 22 22 def test(item): 23 23 return fetch(item) == result[item] 24 fetch.interact('organization', "action(),id(),name\ninsert,my_org,My Org") 24 25 assert test('/organization.txt') 25 26 assert test('/organization.csv')
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)