mitodl / ccxcon

CCXCon API
GNU Affero General Public License v3.0
7 stars 0 forks source link

gen_realish_data_test shows up as a management command despite being a test suite #118

Open noisecapella opened 8 years ago

pdpinch commented 8 years ago

Is it just a test suite? We need(ed) it on ccxcon-ci and ccxcon-rc for end-to-end testing.

@justinabrahms ?

noisecapella commented 8 years ago

We started naming our test files with a _test suffix and put them in the same directory as the files they are testing. For some reason this test suite shows up in the list of available management commands (probably because it's in the same directory), but otherwise it's harmless.

justinabrahms commented 8 years ago

My suspicion is that if we don't import Command but instead import Command as CommandUnderTest, it won't pick it up.

On Fri, Feb 12, 2016 at 1:15 PM, George Schneeloch <notifications@github.com

wrote:

We started naming our test files with a _test suffix and put them in the same directory as the files they are testing. For some reason this test suite shows up in the list of available management commands (probably because it's in the same directory), but otherwise it's harmless.

— Reply to this email directly or view it on GitHub https://github.com/mitodl/ccxcon/issues/118#issuecomment-183436809.