Index: main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
===================================================================
--- main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py	(revision 16411)
+++ main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py	(revision 16416)
@@ -172,20 +172,17 @@
         self.certificate.study_mode = 'nd_ft'
         self.certificate.school_fee_3 = 30000.0
-        # dep_sug tickets cannot be created
-        self.browser.open(self.payments_path + '/addop')
-        self.browser.getControl(name="form.p_category").value = ['dep_sug']
-        self.browser.getControl("Create ticket").click()
-        self.assertTrue('Amount could not be determined' in self.browser.contents)
-        #self.assertTrue('ticket created' in self.browser.contents)
-        #ctrl = self.browser.getControl(name='val_id')
-        #dep_sug_pid = ctrl.options[0]
-        #self.assertTrue(self.student['payments'][dep_sug_pid].amount_auth == 1650)
-        #self.browser.getLink(dep_sug_pid).click()
-        #self.browser.getLink("Pay via Interswitch", index=0).click()
-        #self.student['payments'][dep_sug_pid].p_state = 'paid'
-        #self.assertTrue(
-        #    '<item_detail item_id="1" item_name="Students Welfare" '
-        #    'item_amt="50000" bank_id="11" acct_num="0037892949" />'
-        #    in self.browser.contents)
+        # Add dep_sug and gns tickets.
+        payment = createObject('waeup.StudentOnlinePayment')
+        payment.p_category = u'dep_sug'
+        payment.p_session = self.student.current_session
+        payment.p_id = u'anyid'
+        payment.p_state = u'paid'
+        self.student['payments']['anykey'] = payment
+        payment2 = createObject('waeup.StudentOnlinePayment')
+        payment2.p_category = u'gns_1'
+        payment2.p_session = self.student.current_session
+        payment2.p_id = u'anyid2'
+        payment2.p_state = u'paid'
+        self.student['payments']['anykey2'] = payment2
         # Add school fee ticket
         self.browser.open(self.payments_path + '/addop')
