Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# This workaround makes sure that we can import from the parent dir
import sys
sys.path.append('..')
from scrython.sets import Code
import unittest
import time
promo_khans = Code('PKTK')
khans = Code('KTK')
class TestSets(unittest.TestCase):
def test_object(self):
self.assertIsInstance(khans.object(), str)
def test_code(self):
self.assertIsInstance(khans.code(), str)
def test_mtgo_code(self):
self.assertIsInstance(khans.mtgo_code(), str)
def test_name(self):
# This workaround makes sure that we can import from the parent dir
import sys
sys.path.append('..')
from scrython.sets import Code
import unittest
import time
promo_khans = Code('PKTK')
khans = Code('KTK')
class TestSets(unittest.TestCase):
def test_object(self):
self.assertIsInstance(khans.object(), str)
def test_code(self):
self.assertIsInstance(khans.code(), str)
def test_mtgo_code(self):
self.assertIsInstance(khans.mtgo_code(), str)
def test_name(self):
self.assertIsInstance(khans.name(), str)