Skip to content

Conversation

@Anjana-Rajagopal
Copy link
Contributor

This adds the createDate and modifyDate parameters to the sg rule-list table under rule.py and to the mask under the get_securitygroup command under network.py.

Copy link
Member

@allmightyspiff allmightyspiff left a comment

Choose a reason for hiding this comment

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

Make sure you get the unit tests to work properly, otherwise the code change is simple enough.

For the specific test that is failing, I'd recommend changing the test to make sure just the ID is right or a few other choice field.

Let me know if you have questions on how to run the unit tests.

@Anjana-Rajagopal
Copy link
Contributor Author

I modified the failing method in the securitygroup_test.py class to have the createDate and modifyDate parameters, as the error appeared to be a detected mismatch. My change has been added to this pull request.

@coveralls
Copy link

coveralls commented Nov 8, 2018

Coverage Status

Coverage remained the same at 89.632% when pulling 543c06b on Anjana-Rajagopal:feature/NETWORK-8987 into 3faaa7d on softlayer:master.

'portRangeMax': None,
'createDate': None,
'modifyDate': None}],
json.loads(result.output))
Copy link
Member

Choose a reason for hiding this comment

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

Basically just needs 1 space so this line aligns with the opening { up top.

You can run tox -e analysis in the softlayer-python directory to make sure all integration tests pass locally.

@allmightyspiff allmightyspiff merged commit d6821f3 into softlayer:master Nov 9, 2018
@allmightyspiff allmightyspiff mentioned this pull request Nov 16, 2018
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.

3 participants