Coverage for pass_import/managers/safeincloud.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-02-26 12:11 +0000

1# -*- encoding: utf-8 -*- 

2# pass import - Passwords importer swiss army knife 

3# Copyright (C) 2022 Artyom Yurash <urashav@ya.ru>. 

4# 

5 

6from pass_import.core import register_managers 

7from pass_import.formats.csv import CSV 

8 

9 

10class SafeInCloudCSV(CSV): 

11 """Importer for SafeInCloud in CSV format.""" 

12 name = 'safeincloud' 

13 url = 'https://safeincloud.ladesk.com/' 

14 hexport = 'File > Export > Comma-Separated Values (CSV)' 

15 himport = 'pass import safeincloud file.csv' 

16 keys = { 

17 'title': 'Title', 

18 'login': 'Login', 

19 'password': 'Password', 

20 'url': 'URL', 

21 'comments': 'Notes', 

22 'otpauth': 'OTP' 

23 } 

24 

25 

26register_managers(SafeInCloudCSV)