ankity10 / lib389

Forked from lib389 6 years ago
Clone

44b02ba Adding compare function in DSLdapObject and comparison tests for 2 user, Adding .idea/ in .gitignore, Adding a new module 'DeepDiff' in requirements.txt

Authored and Committed by Ankit yadav 6 years ago
    Adding compare function in DSLdapObject and comparison tests for 2 user, Adding .idea/ in .gitignore, Adding a new module 'DeepDiff' in requirements.txt
    
    Adding 3 functions in DSLdapObject class 1. compare(): to compare two objects. 2. get_all_attrs(): returns all the attrs of RDN. 3. get_compare_attrs(): return all the attrs after exclude some attrs from comparison, for comparision exclusion we are adding a new attribute in DSLdapObject class as compare_exclude.
    
    Adding a value for compare_exclude (nsuniqueid) in lib389//idm/user.py. Adding tests in file lib389/tests/idm/user_compare_test.py.
    
    Adding a new module for comaprison 'DeepDiff', also updating requirements.txt
    
    Test for user comparison is not yet completed. Currently only printing the attrs value to verify the comparison.
    
        
file modified
+1 -0
file modified
+28 -1
file modified
+2 -0
file modified
+1 -0