-
Notifications
You must be signed in to change notification settings - Fork 199
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
SG-35018 Remove Ticket entity reference and prepare this to run in CI #349
SG-35018 Remove Ticket entity reference and prepare this to run in CI #349
Conversation
filters = [['sg_priority', 'in', self.ticket['sg_priority'], '1'], | ||
['project', 'is', self.project]] | ||
|
||
result = self._id_in_result('Ticket', filters, self.ticket['id']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not equivalent with Version on these ones ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call! I just replaced them and got these tests back. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Ticket entity is disabled by default on ShotGrid (it seems so).
I'm making unit tests dependant-free on this entity. It seems they were enabled when these tests were implemented, but now this is making it harder to test locally with fresh SG sites.