-
Notifications
You must be signed in to change notification settings - Fork 57
Refactor/Baseline Unit Tests #6
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
Conversation
# Conflicts: # .vscode/settings.json
|
||
|
||
# pycharm | ||
.idea |
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.
Can remove pycharm based files.
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.
Remove them from the .gitignore? That would add the files to the github repo. We have the .vscode files there, but I usually try to avoid putting IDE specific files especially when there are dev machine specific configurations in them. I can see the value in adding the .vscode files here as they have none dev machine specific configuration in there. Not the case for the pycharm files.
@@ -7,5 +7,5 @@ def __init__(self): | |||
self.EventType: HistoryEventType | |||
self.EventId: int | |||
self.IsPlayed: bool | |||
self.Timestamp: datetime | |||
self.Timestamp: str |
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.
Is there a reason why Timestamp is changed to a str type?
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.
Was receiving an error. Timestamp as json is a string value, a conversion stepis required to get it into a datetime. The dtparse is required/already being used to convert the string to a date prior to processing.
e.g. self.currentUtcDateTime = dtparse(decisionStartedEvent["Timestamp"])
Resolves #5