<commit_before>package logfetcher

import "testing"

func TestFetch(t *testing.T) {
	t.Error("not implemented yet")
}<commit_msg>logfetcher: setup test client<commit_after>package logfetcher

import (
	"log"
	"testing"

	"github.com/koding/klient/Godeps/_workspace/src/github.com/koding/kite"
)

var (
	lf     *kite.Kite
	remote *kite.Client
)

func init() {
	lf := kite.New("logfetcher", "0.0.1")
	lf.Config.DisableAuthentication = true
	lf.Config.Port = 3639
	lf.HandleFunc("fetch", Fetch)

	go lf.Run()
	<-lf.ServerReadyNotify()

	remoteKite := kite.New("remote", "0.0.1")
	remoteKite.Config.Username = "remote"
	remote = remoteKite.NewClient("http://127.0.0.1:3639/kite")
	err := remote.Dial()
	if err != nil {
		log.Fatal("err")
	}
}

func TestFetch(t *testing.T) {
	t.Error("not implemented yet")
}
{'fraction_non_alphanumeric': 0.1691542288557214, 'fraction_numerical': 0.024875621890547265, 'mean_word_length': 4.33112582781457, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3686696', 'n_tokens_mistral': 342, 'n_tokens_neox': 320, 'n_words': 57}