<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.ow2.choreos.integration.deployment.nodes.cloudprovider;

import java.util.List;

import org.jclouds.compute.RunNodesException;
import org.jclouds.compute.domain.Hardware;
import org.jclouds.compute.domain.Image;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.ow2.choreos.deployment.nodes.cloudprovider.OpenStackKeystoneCloudProvider;
import org.ow2.choreos.integration.deployment.nodes.BaseTest;
import org.ow2.choreos.nodes.datamodel.CloudNode;
import org.ow2.choreos.nodes.datamodel.NodeSpec;
import org.ow2.choreos.tests.IntegrationTest;

@Category(IntegrationTest.class)
public class OpenStackCloudProviderTest extends BaseTest {

    private final static OpenStackKeystoneCloudProvider infra = new OpenStackKeystoneCloudProvider();

    // private Node node = new Node();

    @Before
    public void SetUp() throws RunNodesException {
	// node.
	System.out.println("Began Pre-OS Testing...");

    }

    @Test
    public void shouldCreateNodeFromPool() throws Exception {
	System.out.println(">>>> Starting Openstack Tests.");

	boolean bTestNewNode = true;
	boolean bTestNodesList = true;
	boolean bTestImagesList = true;
	boolean bTestHWList = true;
<commit_msg>avoiding static initialization in open stack test, which could break the buid<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.ow2.choreos.integration.deployment.nodes.cloudprovider;

import java.util.List;

import org.jclouds.compute.domain.Hardware;
import org.jclouds.compute.domain.Image;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.ow2.choreos.deployment.nodes.cloudprovider.OpenStackKeystoneCloudProvider;
import org.ow2.choreos.integration.deployment.nodes.BaseTest;
import org.ow2.choreos.nodes.datamodel.CloudNode;
import org.ow2.choreos.nodes.datamodel.NodeSpec;
import org.ow2.choreos.tests.IntegrationTest;

@Category(IntegrationTest.class)
public class OpenStackCloudProviderTest extends BaseTest {

    private final OpenStackKeystoneCloudProvider infra = new OpenStackKeystoneCloudProvider();

    @Test
    public void shouldCreateNodeFromPool() throws Exception {
	System.out.println(">>>> Starting Openstack Tests.");

	boolean bTestNewNode = true;
	boolean bTestNodesList = true;
	boolean bTestImagesList = true;
	boolean bTestHWList = true;

{'fraction_non_alphanumeric': 0.09560159941839332, 'fraction_numerical': 0.007270083605961469, 'mean_word_length': 5.008733624454148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6083610', 'n_tokens_mistral': 860, 'n_tokens_neox': 821, 'n_words': 213}