Changeset 6088


Ignore:
Timestamp:
14 May 2011, 14:26:45 (14 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_interfaces.py

    r6087 r6088  
    4141   
    4242    def test_vocabulary_len(self):
    43         self.assertEqual(len(self.vocab), 5)
     43        self.assertEqual(len(self.vocab), 9)
    4444        return
    4545
    4646    def test_vocabulary_items(self):
    47         self.assertTrue('pde' in self.vocab)
     47        self.assertTrue('pude' in self.vocab)
    4848        return
    4949
    5050    def test_term_attributes(self):
    5151        # Check that each vocab entry provided value, token, and title.
    52         term = self.vocab.getTermByToken('pde')
    53         self.assertEqual(term.token, 'pde')
    54         self.assertEqual(term.value, 'pde')
    55         self.assertEqual(term.title, 'Direct Entry Screening Exam (PDE)')
     52        term = self.vocab.getTermByToken('pude')
     53        self.assertEqual(term.token, 'pude')
     54        self.assertEqual(term.value, 'pude')
     55        self.assertEqual(term.title, 'Post UDE Screening')
    5656        return
    5757
Note: See TracChangeset for help on using the changeset viewer.