Beispiel #1
0
 def test_bankruptcy_fails(self):
     """Does initializing the API fail on bankruptcy courts?"""
     with self.assertRaises(AssertionError):
         ShowCaseDocApi('caeb', pacer_session=self.pacer_session)
Beispiel #2
0
 def setUpClass(cls):
     if pacer_credentials_are_defined():
         cls.report = ShowCaseDocApi("dcd", get_pacer_session())
Beispiel #3
0
 def setUpClass(cls):
     if PACER_USERNAME and PACER_PASSWORD:
         cls.pacer_session = PacerSession(username=PACER_USERNAME,
                                          password=PACER_PASSWORD)
         cls.report = ShowCaseDocApi('dcd', cls.pacer_session)