source: exist/branches/proglue_production_rev4605_xquery4884/python/ndgutilstests/ @ 4886

Subversion URL:
Revision 4886, 538 bytes checked in by sdonegan, 10 years ago (diff)

Creating operational branch for ndgUtils as used on proglue

1import unittest
2from ndgUtils.ndgXqueries import ndgXqueries
3class TestCase(unittest.TestCase):
5    def setUp(self):
6        self.ndgx=ndgXqueries()
7    def test_xqueryLoad(self):
8        print self.ndgx.keys()
9    def test_xqueryHelp(self):
10        ''' Testing that the help string in xqueries is returned correctly '''
12        r=' Return a specific csml document when TargetCollection and LocalID are overwritten '
13        self.assertEqual(h,r)
15if __name__=="__main__":
16    unittest.main()
Note: See TracBrowser for help on using the repository browser.