from language.processors import Transformer
from manager import mongo_connection_record
from nltk.corpus import stopwords
import unittest
import os


@unittest.skipIf(os.environ.get('TRAVIS', None) is not None, "Skipping in Travis CI builds")
class TestTransformer(unittest.TestCase):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self._transformer = Transformer(mongo_connection_record, stopwords.words('english'))

    def test_stopwords(self):
        self.assertIsInstance(self._transformer.stopwords, list, "Are stopwords returned as a list?")
@@ -142,17 +142,16 @@
 ort os%0A%0A
-%0A
 @unittes
@@ -378,65 +378,155 @@
 lf._
-transformer = Transformer(mongo_connection_record, sto
+stpwrds = stopwords%0A        self._mcr = mongo_connection_record%0A%0A    def setUp(self):%0A        self._transformer = Transformer(self._mcr, self._st
 pw
-o
 rds.

Fix failing build