<commit_before>// Copyright 2012 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package repository

import (
	"github.com/globocom/commandmocker"
	"github.com/globocom/config"
	//"github.com/globocom/tsuru/log"
	. "launchpad.net/gocheck"
	//stdlog "log"
	//"os"
	"testing"
)

func Test(t *testing.T) { TestingT(t) }

type S struct {
	//logFile     *os.File
	tmpdir      string
}

var _ = Suite(&S{})

func (s *S) SetUpSuite(c *C) {
	var err error
	s.tmpdir, err = commandmocker.Add("juju", "")
	c.Assert(err, IsNil)
	err = config.ReadConfigFile("../etc/tsuru.conf")<commit_msg>repository: gofmt -s -w<commit_after>// Copyright 2012 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package repository

import (
	"github.com/globocom/commandmocker"
	"github.com/globocom/config"
	//"github.com/globocom/tsuru/log"
	. "launchpad.net/gocheck"
	//stdlog "log"
	//"os"
	"testing"
)

func Test(t *testing.T) { TestingT(t) }

type S struct {
	//logFile     *os.File
	tmpdir string
}

var _ = Suite(&S{})

func (s *S) SetUpSuite(c *C) {
	var err error
	s.tmpdir, err = commandmocker.Add("juju", "")
	c.Assert(err, IsNil)
	err = config.ReadConfigFile("../etc/tsuru.conf")
{'fraction_non_alphanumeric': 0.15219005196733482, 'fraction_numerical': 0.005939123979213066, 'mean_word_length': 3.478405315614618, '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': '7286424', 'n_tokens_mistral': 523, 'n_tokens_neox': 506, 'n_words': 134}