Skip to content

Instantly share code, notes, and snippets.

@bjonnh
Last active February 3, 2019 00:35
Show Gist options
  • Save bjonnh/563f7a90d27846190b179bb3d36b9857 to your computer and use it in GitHub Desktop.
Save bjonnh/563f7a90d27846190b179bb3d36b9857 to your computer and use it in GitHub Desktop.
import unittest
import rnaviewparser.rnaview_ast as ast
class TestNode(unittest.TestCase):
def test_repr(self):
node = ast.Node([])
self.assertEqual(node.__repr__(), "Basic Node")
if __name__ == '__main__':
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment