← Back
Editing: test_io.cpython-38.pyc
U W[, � @ sj d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ dd lm Z G d d� dej�ZdS )z' Test cases for L{twisted.logger._io}. � )�print_functionN)�unittest� )�LogLevel)�Logger)�LogPublisher)�LoggingFilec @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,S )-�LoggingFileTestsz# Tests for L{LoggingFile}. c C s t � | _t| jd�| _dS )zK Create a logger for test L{LoggingFile} instances to use. ��observerN)r Z publisherr �logger��self� r �=/usr/lib/python3/dist-packages/twisted/logger/test/test_io.py�setUp s zLoggingFileTests.setUpc C s | � tjd� dS )z0 L{LoggingFile.softspace} is 0. r N)�assertEqualr Z softspacer r r r �test_softspace"