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

10 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) 2017-2024 Alexandre PUJOL <alexandre@pujol.io>. 

4# 

5 

6from pass_import.core import register_managers 

7from pass_import.formats.csv import CSV 

8 

9 

10class KeeperCSV(CSV): 

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

12 name = 'keeper' 

13 url = 'https://keepersecurity.com' 

14 hexport = 'Settings > Export : Export to CSV File' 

15 himport = 'pass import keeper file.csv' 

16 fieldnames = ['group', 'title', 'login', 'password', 'url', 'comments'] 

17 keys = { 

18 'title': 'title', 

19 'password': 'password', 

20 'login': 'login', 

21 'url': 'url', 

22 'comments': 'comments', 

23 'group': 'group' 

24 } 

25 

26 

27register_managers(KeeperCSV)