diff options
author | Prabhu Ramachandran | 2017-11-14 19:03:36 +0530 |
---|---|---|
committer | GitHub | 2017-11-14 19:03:36 +0530 |
commit | 1996f5d6409a5f936700a906f7da1afacb664ce6 (patch) | |
tree | 4a747aac76728a342dc9440b06eff3fb20c87a8f /yaksh/fixtures | |
parent | a7afd20e83bff405baf643647afb16a4569481aa (diff) | |
parent | 29e358a6fcd438fa7ddf3d3bccb2af1839158ba6 (diff) | |
download | online_test-1996f5d6409a5f936700a906f7da1afacb664ce6.tar.gz online_test-1996f5d6409a5f936700a906f7da1afacb664ce6.tar.bz2 online_test-1996f5d6409a5f936700a906f7da1afacb664ce6.zip |
Merge pull request #378 from prathamesh920/upload_users_csv
Upload users csv
Diffstat (limited to 'yaksh/fixtures')
-rw-r--r-- | yaksh/fixtures/sample_user_upload.csv | 2 | ||||
-rw-r--r-- | yaksh/fixtures/users_add_update_reject.csv | 4 | ||||
-rw-r--r-- | yaksh/fixtures/users_correct.csv | 2 | ||||
-rw-r--r-- | yaksh/fixtures/users_some_headers_missing.csv | 2 | ||||
-rw-r--r-- | yaksh/fixtures/users_some_values_missing.csv | 4 | ||||
-rw-r--r-- | yaksh/fixtures/users_with_no_values.csv | 1 |
6 files changed, 15 insertions, 0 deletions
diff --git a/yaksh/fixtures/sample_user_upload.csv b/yaksh/fixtures/sample_user_upload.csv new file mode 100644 index 0000000..2edf710 --- /dev/null +++ b/yaksh/fixtures/sample_user_upload.csv @@ -0,0 +1,2 @@ +firstname,lastname,email,username,password,institute,department,roll_no,remove +sample,user,sampleuser@xyz.com,sample_user,sample,sample,sample,sample123,False diff --git a/yaksh/fixtures/users_add_update_reject.csv b/yaksh/fixtures/users_add_update_reject.csv new file mode 100644 index 0000000..43881d8 --- /dev/null +++ b/yaksh/fixtures/users_add_update_reject.csv @@ -0,0 +1,4 @@ +firstname, lastname, email, institute,department,roll_no,remove,password,username +test, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test +test2, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test +test2, test, test@g.com, TEST, TEST, TEST101, TRUE, TEST, test diff --git a/yaksh/fixtures/users_correct.csv b/yaksh/fixtures/users_correct.csv new file mode 100644 index 0000000..7b2a977 --- /dev/null +++ b/yaksh/fixtures/users_correct.csv @@ -0,0 +1,2 @@ +firstname, lastname, email +abc, abc, abc@xyz.com diff --git a/yaksh/fixtures/users_some_headers_missing.csv b/yaksh/fixtures/users_some_headers_missing.csv new file mode 100644 index 0000000..ddcaa88 --- /dev/null +++ b/yaksh/fixtures/users_some_headers_missing.csv @@ -0,0 +1,2 @@ +noname, lastname, email +abc, abc, abc@xyz.com diff --git a/yaksh/fixtures/users_some_values_missing.csv b/yaksh/fixtures/users_some_values_missing.csv new file mode 100644 index 0000000..d60ed8d --- /dev/null +++ b/yaksh/fixtures/users_some_values_missing.csv @@ -0,0 +1,4 @@ +firstname, lastname, email +abc, , abc@xyz.com +dummy, dummy , dummy@xyz.com +dummy, dummy , dummy@xyz.com diff --git a/yaksh/fixtures/users_with_no_values.csv b/yaksh/fixtures/users_with_no_values.csv new file mode 100644 index 0000000..db08ba2 --- /dev/null +++ b/yaksh/fixtures/users_with_no_values.csv @@ -0,0 +1 @@ +firstname, lastname, email |