Kinemetrics EVT data format support.

Added support for the format + tests + reference PDF.
I don't know.
Perhaps to force to have a minimum of invalid_files ???
(This is not my code ...)

On 02/10/2014 01:36, Elliott Sales de Andrade wrote:
>
> In obspy/kinemetrics/tests/test_core.py:
>
> > +        # directory where the test files are located
> > +        self.path = os.path.join(os.path.dirname(__file__), 'data')
> > +
> > +    def test_is_evt(self):
> > +        """
> > +        Test for the the is_evt() function.
> > +        """
> > +        valid_files = [os.path.join(self.path, "BI008_MEMA-04823.evt"),
> > +                       os.path.join(self.path, "BX456_MOLA-02351.evt")]
> > +        invalid_files = [os.path.join(self.path, "NOUTF8.evt")]
> > +        py_dir = os.path.join(self.path, os.pardir, os.pardir)
> > +        for filename in os.listdir(py_dir):
> > +            if filename.endswith(".py"):
> > +                invalid_files.append(
> > +                    os.path.abspath(os.path.join(py_dir, filename)))
> > +        self.assertTrue(len(invalid_files) > 0)
>
> Line 34 sets |invalid_files| to have one element, so I'm not sure what 
> this assertion is testing.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/obspy/obspy/pull/781/files#r18315332>.
>