<commit_before>import unittest
import status_checker


# a = status_checker.get_all_stacks_info()
# print a

class StatusCheckerTest(unittest.TestCase):
	def setUp():
		pass

# 	def tearDown(self):
# 		pass

	def test_get_all_stacks_info():
		response = status_checker.get_all_stacks_info()
		print response

# 	def test_get_all_stack_names():
# 		all_the_stacks = get_all_stack_names()
# 		for x in all_the_stacks:
# 			print x<commit_msg>First version of working unit tests.<commit_after>import unittest
import status_checker


# a = status_checker.get_all_stacks_info()
# print a

class StatusCheckerTest(unittest.TestCase):

	def setUp(self):
		pass

	def tearDown(self):
		pass

	def test_get_all_stacks_info(self):
		response = status_checker.get_all_stacks_info()
		self.assertIsNotNone(response)
		# print response

	def test_get_all_stack_names(self):
		all_the_stacks = status_checker.get_all_stack_names()
		self.assertIsNotNone(all_the_stacks)
		for each_stack in all_the_stacks:
			self.assertIn(each_stack, all_the_stacks)
 			# print each_stack
{'fraction_non_alphanumeric': 0.08120868744098206, 'fraction_numerical': 0.0, 'mean_word_length': 5.625, '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': '1321862', 'n_tokens_mistral': 418, 'n_tokens_neox': 393, 'n_words': 72}