Przeglądaj źródła

Fixing unit test code.

tags/v0.1^2
Ben Kurtovic 12 lat temu
rodzic
commit
15748c6edc
2 zmienionych plików z 4 dodań i 2 usunięć
  1. +2
    -1
      earwigbot/tests/test_calc.py
  2. +2
    -1
      earwigbot/tests/test_test.py

+ 2
- 1
earwigbot/tests/test_calc.py Wyświetl plik

@@ -23,8 +23,9 @@
import unittest import unittest


from earwigbot.commands.calc import Command from earwigbot.commands.calc import Command
from earwigbot.tests import CommandTestCase


class TestCalc(support.CommandTestCase):
class TestCalc(CommandTestCase):


def setUp(self): def setUp(self):
super(TestCalc, self).setUp(Command) super(TestCalc, self).setUp(Command)


+ 2
- 1
earwigbot/tests/test_test.py Wyświetl plik

@@ -23,8 +23,9 @@
import unittest import unittest


from earwigbot.commands.test import Command from earwigbot.commands.test import Command
from earwigbot.tests import CommandTestCase


class TestTest(support.CommandTestCase):
class TestTest(CommandTestCase):


def setUp(self): def setUp(self):
super(TestTest, self).setUp(Command) super(TestTest, self).setUp(Command)


Ładowanie…
Anuluj
Zapisz