Skip to content

Refactor/Baseline Unit Tests#6

Merged
scgbear merged 18 commits intoAzure:masterfrom
scgbear:refactor/first-pass
Jan 6, 2020
Merged

Refactor/Baseline Unit Tests#6
scgbear merged 18 commits intoAzure:masterfrom
scgbear:refactor/first-pass

Conversation

@scgbear
Copy link
Member

@scgbear scgbear commented Dec 19, 2019

Resolves #5



# pycharm
.idea
Copy link
Collaborator

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.

Copy link
Member Author

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.

self.EventId: int
self.IsPlayed: bool
self.Timestamp: datetime
self.Timestamp: str
Copy link
Collaborator

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?

Copy link
Member Author

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"])

@scgbear scgbear merged commit 022b514 into Azure:master Jan 6, 2020
@scgbear scgbear deleted the refactor/first-pass branch January 6, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code refactor/Clean up

2 participants