mirror of https://github.com/apache/jclouds.git
openstack-nova: setup user syntax for implicit keypair option, adding missing unit test
This commit is contained in:
parent
e6a949005b
commit
e81ac99daa
|
@ -105,6 +105,12 @@ public class NovaTemplateOptionsTest {
|
|||
assert options.shouldAutoAssignFloatingIp();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGenerateKeyPairDefault() {
|
||||
NovaTemplateOptions options = new NovaTemplateOptions();
|
||||
assert !options.shouldGenerateKeyPair();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGenerateKeyPair() {
|
||||
NovaTemplateOptions options = new NovaTemplateOptions().generateKeyPair(true);
|
||||
|
|
Loading…
Reference in New Issue