def find_possible_locations(repo, locations):
	result = []
	for loc in locations:
		serv_repos = []
		for l in loc.server.locations:
			serv_repos += l.repos

		if repo not in serv_repos and (loc.max_size - loc.committed_size()) > repo.commit_size():
			result.append(loc)
	return result
dataset/ETHPy150Open TuinfeesT/TuinWolk/tuinwolk/tests/algorithm_test.py/find_possible_locations/original