def test_create_empty_session(self): test_session = Session() self.assertFalse(test_session.has_oauth_details())
def test_create_session(self): test_session = Session('client', 'client_secret') self.assertTrue(test_session.has_oauth_details())