<commit_before>package main

import (
	"github.com/hanwen/go-fuse/fuse"
	"github.com/hanwen/go-fuse/fuse/nodefs"
	"github.com/keybase/client/go/libkb"
	"github.com/keybase/kbfs/libkbfs"
	"strings"
	"testing"
)

// Given the list of users, create and return a config suitable for
// unit-testing.
func makeTestConfig(users []string) *libkbfs.ConfigLocal {
	config := libkbfs.NewConfigLocal()

	localUsers := libkbfs.MakeLocalUsers(users)
	loggedInUser := localUsers[0]

	kbpki := libkbfs.NewKBPKILocal(loggedInUser.Uid, localUsers)

	// TODO: Consider using fake BlockOps and MDOps instead.
	config.SetKBPKI(kbpki)

	signingKey := libkbfs.GetLocalUserSigningKey(loggedInUser.Name)
	crypto := libkbfs.NewCryptoLocal(signingKey)
	config.SetCrypto(crypto)
<commit_msg>Run goimports<commit_after>package main

import (
	"strings"
	"testing"

	"github.com/hanwen/go-fuse/fuse"
	"github.com/hanwen/go-fuse/fuse/nodefs"
	"github.com/keybase/client/go/libkb"
	"github.com/keybase/kbfs/libkbfs"
)

// Given the list of users, create and return a config suitable for
// unit-testing.
func makeTestConfig(users []string) *libkbfs.ConfigLocal {
	config := libkbfs.NewConfigLocal()

	localUsers := libkbfs.MakeLocalUsers(users)
	loggedInUser := localUsers[0]

	kbpki := libkbfs.NewKBPKILocal(loggedInUser.Uid, localUsers)

	// TODO: Consider using fake BlockOps and MDOps instead.
	config.SetKBPKI(kbpki)

	signingKey := libkbfs.GetLocalUserSigningKey(loggedInUser.Name)
	crypto := libkbfs.NewCryptoLocal(signingKey)
	config.SetCrypto(crypto)

{'fraction_non_alphanumeric': 0.12164813603662525, 'fraction_numerical': 0.0013080444735120995, 'mean_word_length': 5.244897959183674, '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': '87408', 'n_tokens_mistral': 605, 'n_tokens_neox': 591, 'n_words': 99}