As you said, tests performed during TDD should be fast, and there are other aspects like deterministic, etc. (so if the connection is interrupted?). As mentioned in the comments, this usually implies that you should use mocks for these disturbing dependencies.
: , , , . ? , , - . , - , .
makeDataDictionary, . , , ( , , , ) : ? , ? ? : , , , .
, makeDataDictionary, ? ( ) (, ). , , makeDataDictionary, .
, , ( ) , . , _makeDataDictionary(html, text, soup), , {"html": html, "text": text, "soup": soup}. unit-testing _makeDataDictionary, makeDataDictionary. , makeDataDictionary .
: _makeDataDictionary . makeDataDictionary, mocks . , makeDataDictionary , makeDataDictionary , .
TDD- : TDD, , , . ( ) , . , , TDD .