Skip to content

Add module.processor for all modules #4

@dkushche

Description

@dkushche

For now, not all modules have a defined processor function that could be used for running them without UI. Let's fix it.
Example:
This is good, it's how it should be:

caesar.little_doc = caesar_little_doc
caesar.full_doc = caesar_full_doc
caesar.processor = caesar_processing

This is bad and needs to be fixed:

diffie_hellman.little_doc = diffie_hellman_little_doc
diffie_hellman.full_doc = diffie_hellman_full_doc

Actually, this issue will be fixed after writing the test for all of the modules, but let's fix it now. I already improved modules creator to add processor automatically. So this issue won't happen in the future.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions