merels: Add missing __init__.py, and really fix the tests.
ADD
zulip_bots/zulip_bots/bots/merels/__init__.py
zulip_bots/zulip_bots/bots/merels/__init__.py
MODIFY
zulip_bots/zulip_bots/bots/merels/merels.py
zulip_bots/zulip_bots/bots/merels/merels.py
from typing import Any, List
-from zulip_bots.bots.merels.libraries import database, game, game_data, mechanics
from zulip_bots.game_handler import GameAdapter, SamePlayerMove
+from .libraries import database, game, game_data, mechanics
+
class Storage:
data = {}

MODIFY
zulip_bots/zulip_bots/bots/merels/test/test_constants.py
zulip_bots/zulip_bots/bots/merels/test/test_constants.py
import unittest
-from libraries import constants
+from ..libraries import constants
class CheckIntegrity(unittest.TestCase):

MODIFY
zulip_bots/zulip_bots/bots/merels/test/test_database.py
zulip_bots/zulip_bots/bots/merels/test/test_database.py
-from libraries import database, game_data
-
from zulip_bots.simple_lib import SimpleStorage
from zulip_bots.test_lib import BotTestCase, DefaultTests
+from ..libraries import database, game_data
+
class DatabaseTest(BotTestCase, DefaultTests):
bot_name = "merels"

MODIFY
zulip_bots/zulip_bots/bots/merels/test/test_game.py
zulip_bots/zulip_bots/bots/merels/test/test_game.py
import unittest
-from libraries import database, game
-
from zulip_bots.game_handler import BadMoveException
from zulip_bots.simple_lib import SimpleStorage
+from ..libraries import database, game
+
class GameTest(unittest.TestCase):
def setUp(self):

MODIFY
zulip_bots/zulip_bots/bots/merels/test/test_interface.py
zulip_bots/zulip_bots/bots/merels/test/test_interface.py
import unittest
-from libraries import interface
+from ..libraries import interface
class BoardLayoutTest(unittest.TestCase):

MODIFY
zulip_bots/zulip_bots/bots/merels/test/test_mechanics.py
zulip_bots/zulip_bots/bots/merels/test/test_mechanics.py
import unittest
-from libraries import database, game_data, interface, mechanics
-
from zulip_bots.simple_lib import SimpleStorage
+from ..libraries import database, game_data, interface, mechanics
+
class GridTest(unittest.TestCase):
def test_out_of_grid(self):

MODIFY
zulip_bots/zulip_bots/bots/merels/test_merels.py
zulip_bots/zulip_bots/bots/merels/test_merels.py
from typing import Any, List, Tuple
-from libraries.constants import EMPTY_BOARD
-
from zulip_bots.game_handler import GameInstance
from zulip_bots.test_lib import BotTestCase, DefaultTests
+from .libraries.constants import EMPTY_BOARD
+
class TestMerelsBot(BotTestCase, DefaultTests):
bot_name = "merels"

merels: Add missing __init__.py, and really fix the tests.

Signed-off-by: Anders Kaseorg <anders@zulip.com>