summaryrefslogblamecommitdiffstats
path: root/etc/unittest/include.py
blob: 9695bc5bfbdfec8ccb2ddc5af1a953287b1ac0a5 (plain) (tree)
1
2
3
4
5
6
7
8
9
               
 
                                    
 



                                                        
 


                                                  
 

                          
import unittest

class TestImport(unittest.TestCase):

    def test_get_cookies(self):
        from g4f import get_cookies as get_cookies_alias
        from g4f.cookies import get_cookies
        self.assertEqual(get_cookies_alias, get_cookies)

    def test_requests(self):
        from g4f.requests import StreamSession
        self.assertIsInstance(StreamSession, type)

if __name__ == '__main__':
    unittest.main()