<commit_before>
package api
/*
import (
	"testing"

	"gopkg.in/check.v1"
)

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

type S struct{}

var _ = check.Suite(&S{})

func (s *S) TestCreateNewRPCClient(c *check.C) {
	_, error := NewRPCClient("http://localhost:2633/RPC2", "oneadmin", "RaifZuewjoc4")
	c.Assert(error, check.IsNil)
}

func (s *S) TestRPCCall(c *check.C) {
	client, clientErr := NewRPCClient("http://localhost:2633/RPC2", "oneadmin", "RaifZuewjoc4")
	args := []interface{}{client.Key, -2, 3, 3}
	_, callErr := client.Call(client.RPCClient, "one.templatepool.info", args)
	c.Assert(clientErr, check.IsNil)
	c.Assert(callErr, check.IsNil)

}
*/<commit_msg>remove commandline<commit_after>
package api

import (
	"testing"

	"gopkg.in/check.v1"
)

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

type S struct{}

var _ = check.Suite(&S{})

func (s *S) TestCreateNewRPCClient(c *check.C) {
	_, error := NewRPCClient("http://localhost:2633/RPC2", "oneadmin", "RaifZuewjoc4")
	c.Assert(error, check.IsNil)
}

func (s *S) TestRPCCall(c *check.C) {
	client, clientErr := NewRPCClient("http://localhost:2633/RPC2", "oneadmin", "RaifZuewjoc4")
	args := []interface{}{client.Key, -2, 3, 3}
	_, callErr := client.Call(client.RPCClient, "one.templatepool.info", args)
	c.Assert(clientErr, check.IsNil)
	c.Assert(callErr, check.IsNil)

}
{'fraction_non_alphanumeric': 0.1898355754857997, 'fraction_numerical': 0.02391629297458894, 'mean_word_length': 5.0588235294117645, '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': '6764698', 'n_tokens_mistral': 570, 'n_tokens_neox': 553, 'n_words': 99}