def METHOD_NAME(self):
    groups = ["SYSTEM"]
    with patch("win32net.NetUserGetLocalGroups", return_value=groups):
        ret = win_functions.get_user_groups("SYSTEM")
        self.assertListEqual(groups, ret)