def init_test_data():
	servers = []
	for i in range(MAX_SERVERS):
		s = Server(ip='ip_' + str(i), port=random.randint(1024,65535), user=random_str(5))
		servers.append(s)

	locations = []
	for i in range(MAX_LOCATIONS):
		locations.append(Location(max_up=random.randint(0,500), max_down=random.randint(0,500), max_size=random.randint(1000,100000), path="/" + random_str(4), server=random.choice(servers)))

	repos = []
	for i in range(MAX_REPOS):
		repos.append(Repo(name='repo_' + str(i), safe_mode=i % 3 == 0, local_size=int(1.02 ** random.randint(100,550)), min_locations=i % 3 + 1, locations=[]))

	for repo in repos:
		locs = find_possible_locations(repo, locations)
		if len(locs) > 0:
			loc = random.choice(locs)
			repo.base_location=loc
			repo.locations.append(repo.base_location)
			loc.repos.append(repo)
		else:
			print("testset broken")
			sys.exit(-1)

	print_state(servers)
	return (servers, repos, locations)
dataset/ETHPy150Open TuinfeesT/TuinWolk/tuinwolk/tests/algorithm_test.py/init_test_data/original