tenfourfox/testing/taskcluster/tests/test_slugidjar.py
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

20 lines
472 B
Python
Executable File

import unittest
import mozunit
from datetime import datetime
from taskcluster_graph.slugidjar import SlugidJar
class SlugidJarTest(unittest.TestCase):
def test_slugidjar(self):
subject = SlugidJar()
self.assertEqual(subject('woot'), subject('woot'))
self.assertTrue(type(subject('woot')) is str)
other_jar = SlugidJar()
self.assertNotEqual(subject('woot'), other_jar('woot'))
if __name__ == '__main__':
mozunit.main()