<s> """<STR_LIT>""" <EOL> import unittest <EOL> from directory_api_users_test_base import DirectoryApiUsersTestBase <EOL> class DirectoryApiGetBasicUsersTest ( DirectoryApiUsersTestBase ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> """<STR_LIT>""" <EOL> super ( DirectoryApiGetBasicUsersTest , self ) . setUp ( ) <EOL> self . _all_user_count = self . test_users_manager . user_count <EOL> self . _all_users_basic = self . test_users_manager . GetTestUsers ( <EOL> self . primary_domain , max_page = self . _all_user_count , basic = True ) . get ( <EOL> '<STR_LIT>' ) <EOL> def testCanGetBasicDomainUsersWithDefaults ( self ) : <EOL> self . assertEqual ( <EOL> self . _api_wrapper . GetDomainUsers ( self . primary_domain , basic = True ) , <EOL> self . _all_users_basic ) <EOL> def testCanGetBasicDomainUsersWithSmallPages ( self ) : <EOL> self . assertEqual ( <EOL> self . _api_wrapper . GetDomainUsers ( self . primary_domain , basic = True , <EOL> max_page = self . _all_user_count / <NUM_LIT:3> ) , <EOL> self . _all_users_basic ) <EOL> def testCanGetBasicDomainUsersWithUnknownDomain ( self ) : <EOL> self . assertEqual ( <EOL> self . _api_wrapper . GetDomainUsers ( self . unknown_domain , basic = True ) , [ ] ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
