mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-19 02:13:04 +00:00
20 lines
472 B
Python
Executable File
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()
|
|
|
|
|