<commit_before>package gocd

import (
	"context"
	"fmt"
	"github.com/stretchr/testify/assert"
	"io/ioutil"
	"net/http"
	"testing"
)

func TestPipelineService(t *testing.T) {
	setup()
	defer teardown()

	t.Run("Get", testPipelineServiceGet)
	t.Run("Create", testPipelineServiceCreate)
	t.Run("GetHistory", testPipelineServiceGetHistory)
	t.Run("GetStatus", testPipelineServiceGetStatus)
	t.Run("Pause", testPipelineServicePause)
	t.Run("Unpause", testPipelineServiceUnpause)
	t.Run("ReleaseLock", testPipelineServiceReleaseLock)
	t.Run("PaginationStub", testPipelineServicePaginationStub)
	t.Run("StageContainer",testPipelineStageContainer)
}

func testPipelineStageContainer(t *testing.T) {

	p = &Pipeline{<commit_msg>Fixed formatting<commit_after>package gocd

import (
	"context"
	"fmt"
	"github.com/stretchr/testify/assert"
	"io/ioutil"
	"net/http"
	"testing"
)

func TestPipelineService(t *testing.T) {
	setup()
	defer teardown()

	t.Run("Get", testPipelineServiceGet)
	t.Run("Create", testPipelineServiceCreate)
	t.Run("GetHistory", testPipelineServiceGetHistory)
	t.Run("GetStatus", testPipelineServiceGetStatus)
	t.Run("Pause", testPipelineServicePause)
	t.Run("Unpause", testPipelineServiceUnpause)
	t.Run("ReleaseLock", testPipelineServiceReleaseLock)
	t.Run("PaginationStub", testPipelineServicePaginationStub)
	t.Run("StageContainer", testPipelineStageContainer)
}

func testPipelineStageContainer(t *testing.T) {

	p = &Pipeline{
{'fraction_non_alphanumeric': 0.1317614424410541, 'fraction_numerical': 0.0, 'mean_word_length': 7.640718562874252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3060262', 'n_tokens_mistral': 497, 'n_tokens_neox': 501, 'n_words': 75}