Skip to content

Conversation

@ervteng
Copy link
Contributor

@ervteng ervteng commented Feb 21, 2019

Changed tests to use Mock entirely rather than using MockCommunicator.

@vincentpierre
Copy link
Contributor

Would it be possible to have a separate method that generates the Mock objects ? This way we can reuse them later in other future tests.

@Unity-Technologies Unity-Technologies deleted a comment Feb 21, 2019
@ervteng
Copy link
Contributor Author

ervteng commented Feb 21, 2019

Moved the creation of mocks into helper functions.

@Unity-Technologies Unity-Technologies deleted a comment Feb 21, 2019
@Unity-Technologies Unity-Technologies deleted a comment Feb 22, 2019
@vincentpierre vincentpierre merged commit f863601 into release-v0.7 Feb 22, 2019
@vincentpierre vincentpierre deleted the release-fixgymtest branch February 22, 2019 00:47
LeSphax pushed a commit to LeSphax/ml-agents-1 that referenced this pull request May 3, 2020
* Change gym-unity tests to use Mock instead of MockCommunicator

* move creation of mock objects into helper functions

* Fix comment

* Fix Codacy errors

* Fix ending whitespace

* Minor fixes
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants