Unit tests
I keep forgetting how to set them up, so here is a copy-paste unit test skeleton:
from unittest import TestCase
class TestMain(TestCase):
def setUp(self):
self.foo = "bar"
def test_whatever(self):
# Do something more intelligent here
self.assertTrue(True)