Skip to content

Include general fixtures for the MULE directory #27

Description

@jwaiton

As discussed here in #10, functions should be defined such that the repetitive calling of things such as the MULE_dir aren't required.

Activity

  1. moved this from To triage to Backlog in Technical debton Feb 12, 2025
  2. self-assigned this
    on Apr 11, 2025
  3. MattZur commented on Apr 11, 2025

    @MattZur
    Collaborator

    Please correct me if I'm wrong, but I think I have to import pytest to use fixtures, I can't use from pytest import fixture or something similar

  4. MattZur commented on Apr 11, 2025

    @MattZur
    Collaborator

    Should I then remove the following?

    from pytest                        import mark
    from pytest                        import raises
    from pytest                        import warns
    
  5. MattZur commented on Apr 11, 2025

    @MattZur
    Collaborator

    similar to MULE_dir, data_dir can also be a fixture

  6. bpalmeiro commented on Apr 11, 2025

    @bpalmeiro
    Collaborator

    Yes, the idea is that all general paths and files are used in a more suitable manner. The more candidates you identify the better :P

  7. MattZur commented on Apr 11, 2025

    @MattZur
    Collaborator

    There is a conflict, that MULE_DIR is called in processing_test.py as MULE_dir, but in setup_test.py as bin_dir. Is there a particular reason for this or can I just replace bin_dir?

  8. jwaiton commented on Apr 11, 2025

    @jwaiton
    MemberAuthor

    There is a conflict, that MULE_DIR is called in processing_test.py as MULE_dir, but in setup_test.py as bin_dir. Is there a particular reason for this or can I just replace bin_dir?

    Nope! Just stood for binary_directory, as its leading you to where the executable is held.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions