Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
right_data = [
"area4",
"RDIL",
"me@rdil.rocks",
"Dividers in Python, the easy way!",
]
from_class = [
area4.name,
area4.__author__,
area4.author_email,
area4.description,
]
for i, e in enumerate(right_data):
self.assertEqual(right_data[i], from_class[i])
self.assertEqual(
area4.area4info(),
"Name: {0}\nAuthor: {1}\nAuthor Email: {2}\nDescription: {3}".format(
right_data[0], right_data[1], right_data[2], right_data[3],
),