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.bulk_data import BulkData
import unittest
import time
bulk = BulkData()
class TestBulk(unittest.TestCase):
def test_object(self):
self.assertIsInstance(bulk.object(), str)
def test_has_more(self):
self.assertIsInstance(bulk.has_more(), bool)
def test_data(self):
self.assertIsInstance(bulk.data(), list)
def test_bulk_object(self):
self.assertIsInstance(bulk.bulk_object(0), str)
def test_bulk_id(self):