<commit_before># -*- coding: utf-8 -*-
from django.test import TestCase
from django.db import models
from cytology.models import Cytology

class CytologyTest(TestCase):

	def cytology_test(self):
		cytology = Cytology(
			clinical_information = "clinica",
			quantity = "quantidade",
			microscopic = "miscroscopia",
			conclusion = "conclusao",
			note = "nota",
			footer = "legenda"
		)

		cytology.save()

		self.assertEquals("clinica", cytology.clinical_information)
		self.assertEquals("quantidade", cytology.quantity)
		self.assertEquals("miscroscopia", cytology.microscopic)
		self.assertEquals("conclusao", cytology.conclusion)
		self.assertEquals("nota", cytology.notes)
		self.assertEquals("legenda", cytology.footer)<commit_msg>Add tests CytologyReport<commit_after># -*- coding: utf-8 -*-
from django.test import TestCase
from django.db import models
from cytology.models import Cytology

class CytologyTest(TestCase):

	def cytology_test(self):
		cytology = Cytology(
			clinical_information = "clinica",
			quantity = "quantidade",
			microscopic = "miscroscopia",
			conclusion = "conclusao",
			note = "nota",
			footer = "legenda",
			status = "status",
			exam = "exame"
		)

		cytology.save()

		self.assertEquals("clinica", cytology.clinical_information)
		self.assertEquals("quantidade", cytology.quantity)
		self.assertEquals("miscroscopia", cytology.microscopic)
		self.assertEquals("conclusao", cytology.conclusion)
		self.assertEquals("nota", cytology.notes)
		self.assertEquals("legenda", cytology.footer)
		self.assertEquals("status", cytology.status)
		self.assertEquals("exame", cytology.exam)

class CytologyReportTest(TestCase):

	def cytology_report_test(self):
		cytology_report = CytologyReport(
			clinical_information = "clinica",
			quantity = "quantidade",
			microscopic = "miscroscopia",
			conclusion = "conclusao",
			note = "nota",
			footer = "legenda",
			status = "status",
			citology = "citologia"
		)

		cytologyReport.save()

		self.assertEquals("clinica", cytology_report.clinical_information)
		self.assertEquals("quantidade", cytology_report.quantity)
		self.assertEquals("miscroscopia", cytology_report.microscopic)
		self.assertEquals("conclusao", cytology_report.conclusion)
		self.assertEquals("nota", cytology_report.notes)
		self.assertEquals("legenda", cytology_report.footer)
		self.assertEquals("status", cytology_report.status)
		self.assertEquals("citologia", cytology_report.cytology)

{'fraction_non_alphanumeric': 0.12443900448796409, 'fraction_numerical': 0.0008159934720522236, 'mean_word_length': 5.469656992084433, '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': '7344980', 'n_tokens_mistral': 927, 'n_tokens_neox': 744, 'n_words': 140}