<commit_before>package org.jenkinsci.plugins.django;

import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
import hudson.model.FreeStyleBuild;

import org.apache.commons.io.FileUtils;

@Rule public JenkinsRule jenkinsRule = new JenkinsRule();

public class TestDjangoBuilder {
	private final static String NO_TASK = "nonsensetask";

    public void setUp() {
        
    }
    @Test
	public void testPluginLoads() throws Exception {
        FreeStyleProject project = JenkinsRule.createFreeStyleProject();
		djangoBuilder = new DjangoJenkinsBuilder(NO_TASK);
		project.getBuildersList().add(djangoBuilder);
		FreeStyleBuild build = project.scheduleBuild2(0).get();
		String s = FileUtils.readFileToString(build.getLogFile());
		assertThat(s, containsString(NO_TASK));
	}
}<commit_msg>Correct imports<commit_after>package org.jenkinsci.plugins.django;

import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;

import hudson.model.FreeStyleBuild;

import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;

import org.apache.commons.io.FileUtils;

@Rule
public JenkinsRule jenkinsRule = new JenkinsRule();

public class TestDjangoBuilder {

	private final static String NO_TASK = "nonsensetask";

    @Test
	public void testPluginLoads() throws Exception {
        FreeStyleProject project = JenkinsRule.createFreeStyleProject();
		djangoBuilder = new DjangoJenkinsBuilder(NO_TASK);
		project.getBuildersList().add(djangoBuilder);
		FreeStyleBuild build = project.scheduleBuild2(0).get();
		String s = FileUtils.readFileToString(build.getLogFile());
		assertThat(s, containsString(NO_TASK));
	}
}
{'fraction_non_alphanumeric': 0.0985997666277713, 'fraction_numerical': 0.002333722287047841, 'mean_word_length': 5.621621621621622, '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': '5628844', 'n_tokens_mistral': 545, 'n_tokens_neox': 513, 'n_words': 106}