Example #1
0
    def test_find_all(self):
        self.job_item.save()
        another_job_item = JobItem()
        another_job_item.job_title = "Another Test Job"
        another_job_item.save()

        records = JobItem.findall()
        print "Job Items", records
        self.assertEqual(2, len(records))
Example #2
0
    def test_find_all(self):
        self.job_item.save()
        another_job_item = JobItem()
        another_job_item.job_title = 'Another Test Job'
        another_job_item.save()

        records = JobItem.findall()
        print 'Job Items', records
        self.assertEqual(2, len(records))