Searched refs:string_to_permissions (Results 1 – 2 of 2) sorted by relevance
868 assert Attribute.string_to_permissions('READABLE') == 1869 assert Attribute.string_to_permissions('WRITEABLE') == 2870 assert Attribute.string_to_permissions('READABLE,WRITEABLE') == 3
746 def string_to_permissions(permissions_str: str): member in Attribute763 self.permissions = self.string_to_permissions(permissions)