B
    u9a                 @   sb   d dl Z d dlmZ d dlZd dlZd dlmZ eedZG dd de jZe	dkr^e 
  dS )    N)support)path	startfilec               @   s   e Zd Zdd Zdd ZdS )TestCasec             C   s   |  ttd d S )Nznonexisting.vbs)ZassertRaisesOSErrorr   )self r   $/usr/lib/python3.7/test_startfile.pytest_nonexisting   s    zTestCase.test_nonexistingc          	   C   sF   t ttj* tttd}t| t|d W d Q R X d S )Nz	empty.vbsopen)	r   Z
change_cwdr   dirnamesys
executablejoin__file__r   )r   emptyr   r   r	   
test_empty   s    zTestCase.test_emptyN)__name__
__module____qualname__r
   r   r   r   r   r	   r      s   r   __main__)ZunittestZtestr   osr   r   Zget_attributer   r   r   mainr   r   r   r	   <module>
   s   