Coverage for gpaw/test/cli/test_dos.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.7.1, created at 2025-07-14 00:18 +0000

1"""Test CLI-dos command.""" 

2import pytest 

3from gpaw.cli.main import main 

4 

5 

6@pytest.mark.serial 

7@pytest.mark.parametrize( 

8 'options', 

9 ['', 

10 '-t', 

11 '-i', 

12 '-a Li-sp', 

13 '-w 0', 

14 '-r -5 5', 

15 '-n 50', 

16 '--soc']) 

17def test_dos(gpw_files, options): 

18 args = ('dos ' + str(gpw_files['bcc_li_pw']) + ' ' + options).split() 

19 main(args)