Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_utilities(self):
"""Test util module."""
module = area4.util
self.assertEqual(module.get_divider_character(1), "-")
self.assertEqual(module.get_divider_character(2), "_")
self.assertEqual(module.get_divider_character(3), ".")
self.assertEqual(module.get_divider_character(7), "=")
self.assertEqual(module.get_divider_character(9), "*")
self.assertEqual(module.get_divider_character(13), "~")
self.assertNotEqual(module.get_divider_character(21), "¯\\_(ツ)_/¯")
self.assertEqual(module.get_divider_character(23), "2")
self.assertEqual(module.get_divider_character(24), "3")
self.assertEqual(module.get_divider_character(25), "4")
self.assertEqual(module.get_divider_character(26), "5")
self.assertEqual(module.get_divider_character(27), "6")
self.assertEqual(module.get_divider_character(28), "7")
self.assertEqual(module.get_divider_character(29), "8")
self.assertEqual(module.get_divider_character(30), "9")
self.assertEqual(module.get_divider_character(215), ";")