MCPcopy Create free account
hub / github.com/MearaY/StegaPy / _sp

Method _sp

tests/test_e2e.py:98–103  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

96
97class TestRandomLSB:
98 def _sp(self, **kwargs):
99 from StegaPy.plugin.randlsb import RandomLSBPlugin
100 from StegaPy.plugin.lsb.lsb_config import LSBConfig
101 cfg = LSBConfig(**kwargs)
102 p = RandomLSBPlugin(); p.config = cfg
103 return _make_stegapy(p, cfg)
104
105 def test_roundtrip(self):
106 cover = _cover_bytes(512, 512)

Callers 2

test_roundtripMethod · 0.95

Calls 3

LSBConfigClass · 0.90
RandomLSBPluginClass · 0.90
_make_stegapyFunction · 0.85

Tested by

no test coverage detected