def get_enabled_tests(config):
    """
    Build a set containing all tests defined in the config file.

    Each entry of the set is in the format {test-suite}/{test-module}::{test-function},
    e.g. 'cfn-init/test_cfn_init.py::test_replace_compute_on_failure'
    """
    enabled_test_suites = config.get("test-suites")
    enabled_tests = set()
    for suite, tests in enabled_test_suites.items():
        for test in tests.keys():
            enabled_tests.add("{0}/{1}".format(suite, test))

    return enabled_tests