def METHOD_NAME(database_connection, set_up_repo_groups):
    test_values_good = ['53b0cc122ac9ecc1588d76759dc2e8e437f45b48']
    #set_up_repo_groups(database_connection)
    #Dummy class for testing
    dummy = DummyFullWorker(database_connection)
    #Put a controlled repo path to test.
    debug_repo_values = s.sql.text("""
        UPDATE repo
        SET repo_path = \'github.com/chaoss/\', repo_name = \'augur\'
        WHERE repo_id = 1; 
    """)
    database_connection.execute(debug_repo_values)
    for value in test_values_good:
        url = dummy.create_endpoint_from_commit_sha(value, 1)
        try:
            response = requests.get(url=url, headers=dummy.headers)
        except:
            print(f"Good value wasn't accepted for value {value}")
            raise AssertionError
    test_values_wrong = ['notaHash',
                   ''
                   '\n'
                   '102e1a534c33e8ce1e4d01927d5df667596b3dc7']
    for value in test_values_wrong:
        try:
            url = dummy.create_endpoint_from_commit_sha(value, 1)
            response = requests.get(url=url, headers=dummy.headers)
        except:
            continue
        print(f"Bad value was accepted for value: {value}")
        raise AssertionError