Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: python-mock-open  ]

Paket: python3-mock-open (1.4.0-2)

Links für python3-mock-open

Screenshot

Debian-Ressourcen:

Quellcode-Paket python-mock-open herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Better mock for file I/O

The MockOpen class should work as a stand-in replacement for mock.mock_open with some added features (though it tries to conform to how the builtin 'open' works where the two differ).

Features include:

 * Multiple file support, including a mapping-like access to file mocks by
   path.
 * Persistent file contents between calls to `open`.
 * All the regular file operations: 'read', 'readline', 'readlines', 'write',
   'writelines', 'seek', 'tell'.

Andere Pakete mit Bezug zu python3-mock-open

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

python3-mock-open herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 13,2 kB74,0 kB [Liste der Dateien]