Definition at line 7 of file test_query.py.
◆ test_create()
| test_query.TestQuery.test_create |
( |
|
self | ) |
|
Definition at line 8 of file test_query.py.
8 def test_create(self):
10 self.assertIsInstance(query, Query)
11
◆ test_search_for()
| test_query.TestQuery.test_search_for |
( |
|
self | ) |
|
Definition at line 12 of file test_query.py.
12 def test_search_for(self):
14
15 query.search_for(GNC_ID_INVOICE)
16 self.assertEqual(query.get_search_for(), GNC_ID_INVOICE)
17
18 obj_type = 'gncInvoice'
19 query.search_for(obj_type)
20 self.assertEqual(query.get_search_for(), obj_type)
21
The documentation for this class was generated from the following file: