Projekt

Obecné

Profil

« Předchozí | Další » 

Revize da0fc952

Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)

Added a global error handler for CryptographyException errors.
Added a dependency ony pytest-mock library in order to be able to mock method calls in tests.
Covered the added global CryptographyException error handler in a test.

Zobrazit rozdíly:

src/services/cryptography.py
520 520

  
521 521
    def __str__(self):
522 522
        # TODO check log is valid here
523
        # TODO Standa does not think so...
523 524
        msg = f"""
524 525
        EXECUTABLE: {self.executable}
525 526
        ARGS: {self.args}

Také k dispozici: Unified diff