-
Notifications
You must be signed in to change notification settings - Fork 52
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
Missing server create fields #94
base: master
Are you sure you want to change the base?
Conversation
Any chance of getting this merged in and released soon? |
Sure sorry I missed it! Could you maybe add a test too? Just to make sure it works as expected :) |
The package as it stands doesn't even have tests for creating servers, so how do you know server creation works at the moment? 😉 |
@mikebarlow yes correct, however if there are new features it should be tried to introduce tests where they are missing :) And yes the create server part is not well testes. |
I just used it. But you are right, tests are missing. |
It would be good if there are tests :) even if they are only for your change. |
I just checked, you have public_net already inside your tests. Only the parameter at creation was missing. |
I added the https://docs.hetzner.cloud/#placement-groups section to the api for tests with the placement group. The placement group field at the server is only an id, needs to be existing, idk what kind of test you are expecting. |
Hey @cosmohdx, sorry i was on vacation. What i expect is simply that the whole passing through is tested, so that the expected values are on the correct places :) It looks like there a a few failing tests. Could you maybe fix them? Then everything is good to go :) |
This commit adds the missing fields public_net and placement_group to server create functions.