Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Fix aliases #9

@hugoShaka

Description

@hugoShaka

Fix the postfix aliases, make the database query return good values.

  • Un-skip the tests
  • Add a function to add alias fixtures to the database like
    ADD_ALIAS_DOMAIN_QUERY = """INSERT INTO virtual_alias_domains (source, destination)
    VALUES (%s, %s)
    ON CONFLICT DO NOTHING;"""
  • Add the alias fixtures when creating the pytest server fixture
    tools.insert_virtual_domains(server_address, domains)
    tools.insert_virtual_users(server_address, users)
    tools.insert_virtual_alias_domains(server_address, alias_domains)
  • Run the tests with molecule converge -s single and then molecule verify -s single

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions