sunpy/sunpy — pull request #1001 by gunner272 (2014-05-22 14:19:44+00:00)
Title: Added tests for glob and directory work case

I would like to point this out:
```lc = LightCurve(dir)```
This directory contained EVE and GOES csv files, here these files were not auto detected correctly.Doing the following
```lc = LightCurve(dir,source=['eve','goes']``` doesn't solve the problem as ```len(args) != len(source)```.
Solution:Letting go of this condition L161 in case input is directory or glob.
https://github.com/sunpy/sunpy/blob/lightcurve_factory/sunpy/lightcurve/lightcurve_factory.py#L161