Skip to content

Commit

Permalink
a minor reorder of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Dec 16, 2017
1 parent 256673a commit 9225510
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions uw_iasystem/tests/test_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,26 +253,28 @@ def test_pce_evals_by_instructor(self):
self.assertEqual(ap_evals[0].section_sln, 165165)
self.assertTrue(ap_evals[0].is_eo_ap())

pce_evals = search_evaluations("pce",
ielp_evals = search_evaluations("PCE_IELP",
year=2013,
term_name='Summer',
curriculum_abbreviation='CSOC',
course_number=100,
section_id='A',
instructor_id=123456789)
self.assertIsNotNone(pce_evals)
self.assertIsNotNone(str(pce_evals[0]))
self.assertEqual(pce_evals[0].section_sln, 168569)
self.assertTrue(pce_evals[0].is_eo_ielp())
self.assertIsNotNone(ielp_evals)
self.assertIsNotNone(str(ielp_evals[0]))
self.assertEqual(ielp_evals[0].section_sln, 168569)
self.assertTrue(ielp_evals[0].is_eo_ielp())
self.assertTrue(ielp_evals[0].is_pending())

ielp_evals = search_evaluations("PCE_IELP",
pce_evals = search_evaluations("pce",
year=2013,
term_name='Summer',
curriculum_abbreviation='CSOC',
course_number=100,
section_id='A',
instructor_id=123456789)
self.assertIsNotNone(ielp_evals)
self.assertIsNotNone(str(ielp_evals[0]))
self.assertEqual(ielp_evals[0].section_sln, 168569)
self.assertTrue(ielp_evals[0].is_eo_ielp())
self.assertIsNotNone(pce_evals)
self.assertIsNotNone(str(pce_evals[0]))
self.assertEqual(pce_evals[0].section_sln, 168569)
self.assertTrue(pce_evals[0].is_eo_ielp())

0 comments on commit 9225510

Please sign in to comment.