Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HospitalityQ Vendor Fields Revamp #1533

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JVickery-TBS
Copy link
Contributor

feat(pd): hospitalityq vendor fields;

  • Added additional vendor fields for hospitalityq.
  • Added some validation for multiple/other vendor fields.
  • Added pytests for multi-vendor field format.

- Added additional vendor fields for hospitalityq.
- Added some validation for multiple/other vendor fields.
- Added pytests for multi-vendor field format.
- Added change log file.
- Fixed blank spaces in multi-vendor psql function.
@JVickery-TBS
Copy link
Contributor Author

@wardi this one is good for review now

- Changes to hospitalityq.
}
for k in set(err) | set(expected):
assert k in err
assert err[k] == expected[k]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of raising an error would it be better to strip the empty vendors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just couldn't get the regex the way I wanted it to, so that is why I did an inner regex to raise the error as well

- Field order for hospitalityq vendor fields.
- Removed `vendor_3` fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants