Skip to content

Instantly share code, notes, and snippets.

@MCardus
Created February 28, 2018 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MCardus/48f54271d1aa44936ec20ca9621c50f9 to your computer and use it in GitHub Desktop.
Save MCardus/48f54271d1aa44936ec20ca9621c50f9 to your computer and use it in GitHub Desktop.
import unittest
class DummyTestCase(unittest.TestCase):
def setUp(self):
self.my_data = [1,2,3,4,5]
def test_length(self):
self.assertEqual(len(self.my_data),5)
def tearDown(self):
self.my_data = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment